![]() |
LPCOpen Platform for LPC18XX/43XX microcontrollers
18XX43XX
LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers
|
Data Structures | |
| struct | LPC_EVRT_T |
| Event Router register structure. More... | |
Macros | |
| #define | PARAM_EVRT_SOURCE(n) |
| Macro for checking for a valid EVRT source. More... | |
| #define | PARAM_EVRT_SOURCE_ACTIVE_TYPE(n) |
| Macro for checking for a valid EVRT state type. More... | |
Enumerations | |
| enum | CHIP_EVRT_SRC_T { EVRT_SRC_WAKEUP0, EVRT_SRC_WAKEUP1, EVRT_SRC_WAKEUP2, EVRT_SRC_WAKEUP3, EVRT_SRC_ATIMER, EVRT_SRC_RTC, EVRT_SRC_BOD1, EVRT_SRC_WWDT, EVRT_SRC_ETHERNET, EVRT_SRC_USB0, EVRT_SRC_USB1, EVRT_SRC_SDIO, EVRT_SRC_CCAN, EVRT_SRC_COMBINE_TIMER2, EVRT_SRC_COMBINE_TIMER6, EVRT_SRC_QEI, EVRT_SRC_COMBINE_TIMER14, EVRT_SRC_RESERVED1, EVRT_SRC_RESERVED2, EVRT_SRC_RESET } |
| EVRT input sources. More... | |
| enum | CHIP_EVRT_SRC_ACTIVE_T { EVRT_SRC_ACTIVE_LOW_LEVEL, EVRT_SRC_ACTIVE_HIGH_LEVEL, EVRT_SRC_ACTIVE_FALLING_EDGE, EVRT_SRC_ACTIVE_RISING_EDGE } |
| EVRT input state detecting type. More... | |
Functions | |
| void | Chip_EVRT_Init (void) |
| Initialize the EVRT. More... | |
| void | Chip_EVRT_ConfigIntSrcActiveType (CHIP_EVRT_SRC_T EVRT_Src, CHIP_EVRT_SRC_ACTIVE_T type) |
| Set up the type of interrupt type for a source to EVRT. More... | |
| IntStatus | Chip_EVRT_IsSourceInterrupting (CHIP_EVRT_SRC_T EVRT_Src) |
| Check if a source is sending interrupt to EVRT. More... | |
| void | Chip_EVRT_SetUpIntSrc (CHIP_EVRT_SRC_T EVRT_Src, FunctionalState state) |
| Enable or disable interrupt sources to EVRT. More... | |
| STATIC INLINE void | Chip_EVRT_DeInit (void) |
| De-initializes the EVRT peripheral. More... | |
| STATIC INLINE void | Chip_EVRT_ClrPendIntSrc (CHIP_EVRT_SRC_T EVRT_Src) |
| Clear pending interrupt EVRT source. More... | |
| #define PARAM_EVRT_SOURCE | ( | n | ) |
Macro for checking for a valid EVRT source.
Definition at line 88 of file evrt_18xx_43xx.h.
| #define PARAM_EVRT_SOURCE_ACTIVE_TYPE | ( | n | ) |
Macro for checking for a valid EVRT state type.
Definition at line 111 of file evrt_18xx_43xx.h.
EVRT input state detecting type.
| Enumerator | |
|---|---|
| EVRT_SRC_ACTIVE_LOW_LEVEL |
Active low level |
| EVRT_SRC_ACTIVE_HIGH_LEVEL |
Active high level |
| EVRT_SRC_ACTIVE_FALLING_EDGE |
Active falling edge |
| EVRT_SRC_ACTIVE_RISING_EDGE |
Active rising edge |
Definition at line 101 of file evrt_18xx_43xx.h.
| enum CHIP_EVRT_SRC_T |
EVRT input sources.
Definition at line 62 of file evrt_18xx_43xx.h.
| STATIC INLINE void Chip_EVRT_ClrPendIntSrc | ( | CHIP_EVRT_SRC_T | EVRT_Src | ) |
Clear pending interrupt EVRT source.
| EVRT_Src | : EVRT source, should be one of CHIP_EVRT_SRC_T type |
Definition at line 158 of file evrt_18xx_43xx.h.
| void Chip_EVRT_ConfigIntSrcActiveType | ( | CHIP_EVRT_SRC_T | EVRT_Src, |
| CHIP_EVRT_SRC_ACTIVE_T | type | ||
| ) |
Set up the type of interrupt type for a source to EVRT.
| EVRT_Src | : EVRT source, should be one of CHIP_EVRT_SRC_T type |
| type | : EVRT type, should be one of CHIP_EVRT_SRC_ACTIVE_T type |
Definition at line 65 of file evrt_18xx_43xx.c.
| void Chip_EVRT_Init | ( | void | ) |
| IntStatus Chip_EVRT_IsSourceInterrupting | ( | CHIP_EVRT_SRC_T | EVRT_Src | ) |
Check if a source is sending interrupt to EVRT.
| EVRT_Src | : EVRT source, should be one of CHIP_EVRT_SRC_T type |
Definition at line 105 of file evrt_18xx_43xx.c.
| void Chip_EVRT_SetUpIntSrc | ( | CHIP_EVRT_SRC_T | EVRT_Src, |
| FunctionalState | state | ||
| ) |
Enable or disable interrupt sources to EVRT.
| EVRT_Src | : EVRT source, should be one of CHIP_EVRT_SRC_T type |
| state | : ENABLE or DISABLE to enable or disable event router source |
Definition at line 94 of file evrt_18xx_43xx.c.
1.8.3.1