NXP's driver library for LPC17xx, ported to mbed's online compiler. Not tested! I had to fix a lot of warings and found a couple of pretty obvious bugs, so the chances are there are more. Original: http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

GPIO_Private_Functions

GPIO_Private_Functions
[GPIO]

Functions

static LPC_GPIO_TypeDef * GPIO_GetPointer (uint8_t portNum)
 Get pointer to GPIO peripheral due to GPIO port.
static GPIO_HalfWord_TypeDefFIO_HalfWordGetPointer (uint8_t portNum)
 Get pointer to FIO peripheral in halfword accessible style due to FIO port.
static GPIO_Byte_TypeDefFIO_ByteGetPointer (uint8_t portNum)
 Get pointer to FIO peripheral in byte accessible style due to FIO port.

Function Documentation

static GPIO_Byte_TypeDef* FIO_ByteGetPointer ( uint8_t  portNum ) [static]

Get pointer to FIO peripheral in byte accessible style due to FIO port.

Parameters:
[in]portNumPort Number value, should be in range from 0 to 4.
Returns:
Pointer to FIO peripheral

Definition at line 116 of file lpc17xx_gpio.c.

static GPIO_HalfWord_TypeDef* FIO_HalfWordGetPointer ( uint8_t  portNum ) [static]

Get pointer to FIO peripheral in halfword accessible style due to FIO port.

Parameters:
[in]portNumPort Number value, should be in range from 0 to 4.
Returns:
Pointer to FIO peripheral

Definition at line 83 of file lpc17xx_gpio.c.

static LPC_GPIO_TypeDef* GPIO_GetPointer ( uint8_t  portNum ) [static]

Get pointer to GPIO peripheral due to GPIO port.

Parameters:
[in]portNumPort Number value, should be in range from 0 to 4.
Returns:
Pointer to GPIO peripheral

Definition at line 50 of file lpc17xx_gpio.c.