Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: UAVCAN UAVCAN_Subscriber
CHIP: LPC11xx IO Control driver
Data Structures | |
| struct | LPC_IOCON_T |
| IO Configuration Unit register block structure. More... | |
Typedefs | |
| typedef enum CHIP_IOCON_PIO | CHIP_IOCON_PIO_T |
| LPC11XX I/O Configuration register offset. | |
| typedef enum CHIP_IOCON_PIN_LOC | CHIP_IOCON_PIN_LOC_T |
| LPC11XX Pin location select. | |
Enumerations | |
| enum | CHIP_IOCON_PIO |
LPC11XX I/O Configuration register offset. More... | |
| enum | CHIP_IOCON_PIN_LOC { IOCON_SCKLOC_PIO0_10 = (0xB0), IOCON_SCKLOC_PIO2_11 = (0xB0 | 1), IOCON_SCKLOC_PIO0_6 = (0xB0 | 2), IOCON_DSRLOC_PIO2_1 = (0xB4), IOCON_DSRLOC_PIO3_1 = (0xB4 | 1), IOCON_DCDLOC_PIO2_2 = (0xB8), IOCON_DCDLOC_PIO3_2 = (0xB8 | 1), IOCON_RILOC_PIO2_3 = (0xBC), IOCON_RILOC_PIO3_3 = (0xBC | 1), IOCON_SSEL1_LOC_PIO2_2 = (0x18), IOCON_SSEL1_LOC_PIO2_4 = (0x18 | 1), IOCON_CT16B0_CAP0_LOC_PIO0_2 = (0xC0), IOCON_CT16B0_CAP0_LOC_PIO3_3 = (0xC0 | 1), IOCON_SCK1_LOC_PIO2_1 = (0xC4), IOCON_SCK1_LOC_PIO3_2 = (0xC4 | 1), IOCON_MISO1_LOC_PIO2_2 = (0xC8), IOCON_MISO1_LOC_PIO1_10 = (0xC8 | 1), IOCON_MOSI1_LOC_PIO2_3 = (0xCC), IOCON_MOSI1_LOC_PIO1_9 = (0xCC), IOCON_CT326B0_CAP0_LOC_PIO1_5 = (0xD0), IOCON_CT326B0_CAP0_LOC_PIO2_9 = (0xD0 | 1), IOCON_U0_RXD_LOC_PIO1_6 = (0xD4), IOCON_U0_RXD_LOC_PIO2_7 = (0xD4 | 1), IOCON_U0_RXD_LOC_PIO3_4 = (0xD4 | 3) } |
LPC11XX Pin location select. More... | |
Functions | |
| void | Chip_IOCON_PinMuxSet (LPC_IOCON_T *pIOCON, uint8_t port, uint8_t pin, uint32_t modefunc) |
| Sets I/O Control pin mux. | |
| STATIC INLINE void | Chip_IOCON_PinMux (LPC_IOCON_T *pIOCON, uint8_t port, uint8_t pin, uint16_t mode, uint8_t func) |
| I/O Control pin mux. | |
| STATIC INLINE void | Chip_IOCON_PinMuxSet (LPC_IOCON_T *pIOCON, CHIP_IOCON_PIO_T pin, uint32_t modefunc) |
| Sets I/O Control pin mux. | |
| STATIC INLINE void | Chip_IOCON_PinMux (LPC_IOCON_T *pIOCON, CHIP_IOCON_PIO_T pin, uint16_t mode, uint8_t func) |
| I/O Control pin mux. | |
| STATIC INLINE void | Chip_IOCON_PinLocSel (LPC_IOCON_T *pIOCON, CHIP_IOCON_PIN_LOC_T sel) |
| Select pin location. | |
Typedef Documentation
| typedef enum CHIP_IOCON_PIN_LOC CHIP_IOCON_PIN_LOC_T |
LPC11XX Pin location select.
| typedef enum CHIP_IOCON_PIO CHIP_IOCON_PIO_T |
LPC11XX I/O Configuration register offset.
Enumeration Type Documentation
| enum CHIP_IOCON_PIN_LOC |
LPC11XX Pin location select.
- Enumerator:
Definition at line 112 of file iocon_11xx.h.
| enum CHIP_IOCON_PIO |
LPC11XX I/O Configuration register offset.
Definition at line 57 of file iocon_11xx.h.
Function Documentation
| STATIC INLINE void Chip_IOCON_PinLocSel | ( | LPC_IOCON_T * | pIOCON, |
| CHIP_IOCON_PIN_LOC_T | sel | ||
| ) |
Select pin location.
- Parameters:
-
pIOCON : The base of IOCON peripheral on the chip sel : location selection
- Returns:
- Nothing
Definition at line 273 of file iocon_11xx.h.
| STATIC INLINE void Chip_IOCON_PinMux | ( | LPC_IOCON_T * | pIOCON, |
| CHIP_IOCON_PIO_T | pin, | ||
| uint16_t | mode, | ||
| uint8_t | func | ||
| ) |
I/O Control pin mux.
- Parameters:
-
pIOCON : The base of IOCON peripheral on the chip pin : GPIO pin to mux mode : OR'ed values or type IOCON_* func : Pin function, value of type IOCON_FUNC?
- Returns:
- Nothing
Definition at line 262 of file iocon_11xx.h.
| STATIC INLINE void Chip_IOCON_PinMux | ( | LPC_IOCON_T * | pIOCON, |
| uint8_t | port, | ||
| uint8_t | pin, | ||
| uint16_t | mode, | ||
| uint8_t | func | ||
| ) |
I/O Control pin mux.
- Parameters:
-
pIOCON : The base of IOCON peripheral on the chip port : GPIO port to mux pin : GPIO pin to mux mode : OR'ed values or type IOCON_* func : Pin function, value of type IOCON_FUNC?
- Returns:
- Nothing
Definition at line 235 of file iocon_11xx.h.
| STATIC INLINE void Chip_IOCON_PinMuxSet | ( | LPC_IOCON_T * | pIOCON, |
| CHIP_IOCON_PIO_T | pin, | ||
| uint32_t | modefunc | ||
| ) |
Sets I/O Control pin mux.
- Parameters:
-
pIOCON : The base of IOCON peripheral on the chip pin : GPIO pin to mux modefunc : OR'ed values or type IOCON_*
- Returns:
- Nothing
Definition at line 249 of file iocon_11xx.h.
| void Chip_IOCON_PinMuxSet | ( | LPC_IOCON_T * | pIOCON, |
| uint8_t | port, | ||
| uint8_t | pin, | ||
| uint32_t | modefunc | ||
| ) |
Sets I/O Control pin mux.
- Parameters:
-
pIOCON : The base of IOCON peripheral on the chip port : GPIO port to mux pin : GPIO pin to mux modefunc : OR'ed values or type IOCON_*
- Returns:
- Nothing
Generated on Tue Jul 12 2022 17:17:35 by
1.7.2