![]() |
LPCOpen Platform for LPC18XX/43XX microcontrollers
18XX43XX
LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers
|
Go to the source code of this file.
Data Structures | |
| struct | LPC_PIN_INT_T |
| LPC18xx/43xx Pin Interrupt and Pattern Match register block structure. More... | |
Macros | |
| #define | PININTCH0 (1 << 0) |
| #define | PININTCH1 (1 << 1) |
| #define | PININTCH2 (1 << 2) |
| #define | PININTCH3 (1 << 3) |
| #define | PININTCH4 (1 << 4) |
| #define | PININTCH5 (1 << 5) |
| #define | PININTCH6 (1 << 6) |
| #define | PININTCH7 (1 << 7) |
| #define | PININTCH(ch) (1 << (ch)) |
Functions | |
| STATIC INLINE void | Chip_PININT_Init (LPC_PIN_INT_T *pPININT) |
| Initialize Pin interrupt block. More... | |
| STATIC INLINE void | Chip_PININT_DeInit (LPC_PIN_INT_T *pPININT) |
| De-Initialize Pin interrupt block. More... | |
| STATIC INLINE void | Chip_PININT_SetPinModeEdge (LPC_PIN_INT_T *pPININT, uint32_t pins) |
| Configure the pins as edge sensitive in Pin interrupt block. More... | |
| STATIC INLINE void | Chip_PININT_SetPinModeLevel (LPC_PIN_INT_T *pPININT, uint32_t pins) |
| Configure the pins as level sensitive in Pin interrupt block. More... | |
| STATIC INLINE uint32_t | Chip_PININT_GetHighEnabled (LPC_PIN_INT_T *pPININT) |
| Return current PININT rising edge or high level interrupt enable state. More... | |
| STATIC INLINE void | Chip_PININT_EnableIntHigh (LPC_PIN_INT_T *pPININT, uint32_t pins) |
| Enable high edge/level PININT interrupts for pins. More... | |
| STATIC INLINE void | Chip_PININT_DisableIntHigh (LPC_PIN_INT_T *pPININT, uint32_t pins) |
| Disable high edge/level PININT interrupts for pins. More... | |
| STATIC INLINE uint32_t | Chip_PININT_GetLowEnabled (LPC_PIN_INT_T *pPININT) |
| Return current PININT falling edge or low level interrupt enable state. More... | |
| STATIC INLINE void | Chip_PININT_EnableIntLow (LPC_PIN_INT_T *pPININT, uint32_t pins) |
| Enable low edge/level PININT interrupts for pins. More... | |
| STATIC INLINE void | Chip_PININT_DisableIntLow (LPC_PIN_INT_T *pPININT, uint32_t pins) |
| Disable low edge/level PININT interrupts for pins. More... | |
| STATIC INLINE uint32_t | Chip_PININT_GetRiseStates (LPC_PIN_INT_T *pPININT) |
| Return pin states that have a detected latched high edge (RISE) state. More... | |
| STATIC INLINE void | Chip_PININT_ClearRiseStates (LPC_PIN_INT_T *pPININT, uint32_t pins) |
| Clears pin states that had a latched high edge (RISE) state. More... | |
| STATIC INLINE uint32_t | Chip_PININT_GetFallStates (LPC_PIN_INT_T *pPININT) |
| Return pin states that have a detected latched falling edge (FALL) state. More... | |
| STATIC INLINE void | Chip_PININT_ClearFallStates (LPC_PIN_INT_T *pPININT, uint32_t pins) |
| Clears pin states that had a latched falling edge (FALL) state. More... | |
| STATIC INLINE uint32_t | Chip_PININT_GetIntStatus (LPC_PIN_INT_T *pPININT) |
| Get interrupt status from Pin interrupt block. More... | |
| STATIC INLINE void | Chip_PININT_ClearIntStatus (LPC_PIN_INT_T *pPININT, uint32_t pins) |
| Clear interrupt status in Pin interrupt block. More... | |
1.8.3.1