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
Functions | |
static LPC_GPIO_TypeDef * | GPIO_GetPointer (uint8_t portNum) |
Get pointer to GPIO peripheral due to GPIO port. | |
static GPIO_HalfWord_TypeDef * | FIO_HalfWordGetPointer (uint8_t portNum) |
Get pointer to FIO peripheral in halfword accessible style due to FIO port. | |
static GPIO_Byte_TypeDef * | FIO_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] portNum Port 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] portNum Port 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] portNum Port Number value, should be in range from 0 to 4.
- Returns:
- Pointer to GPIO peripheral
Definition at line 50 of file lpc17xx_gpio.c.
Generated on Tue Jul 12 2022 17:06:03 by 1.7.2