![]() |
MKMxxZxxACxx5 Bare Metal Software Drivers
R4.1.6
Reference Manual
|
This section describes default configuration structures for LLWU module. Create a new configuration structure if default ones don't initialize on-chip peripheral in required operating mode (see Creating Configuration Structure).
Macros | |
#define | LLWU_MODULE_DISABLE_ALL_CONFIG |
Configures LLWU module with all wakeup sources disabled. More... | |
#define | LLWU_MODULE_POSEDGE_ONLY_DETECT_CONFIG(pe_mask) |
Configures LLWU module with user selected posedge wakeup source(s) enabled. More... | |
#define | LLWU_MODULE_NEGEDGE_ONLY_DETECT_CONFIG(ne_mask) |
Configures LLWU module with user selected negedge wakeup source(s) enabled. More... | |
#define | LLWU_MODULE_ANYEDGE_ONLY_DETECT_CONFIG(pe_mask, ne_mask) |
Configures LLWU module with user selected posedge, negedge and any edge wakeup source(s) enabled. More... | |
#define | LLWU_MODULE_PERIPH_ONLY_DETECT_CONFIG(per_mask) |
Configures LLWU module with user selected peripheral wakeup source(s) enabled. More... | |
#define | LLWU_MODULE_POSEDGE_PERIPH_DETECT_CONFIG(pe_mask, per_mask) |
Configures LLWU module with user selected posedge and peripheral wakeup source(s) enabled. More... | |
#define | LLWU_MODULE_NEGEDGE_PERIPH_DETECT_CONFIG(ne_mask, per_mask) |
Configures LLWU module with user selected negedge and peripheral wakeup source(s) enabled. More... | |
#define | LLWU_MODULE_ANYEDGE_PERIPH_DETECT_CONFIG(pe_mask, ne_mask, per_mask) |
Configures LLWU module with user selected posedge, negedge, any edge and peripheral wakeup source(s) enabled. More... | |
#define LLWU_MODULE_DISABLE_ALL_CONFIG |
This structure configures LLWU module with all wakeup sources disabled. Use it as a template for making your specific configuration.
#define LLWU_MODULE_POSEDGE_ONLY_DETECT_CONFIG | ( | pe_mask | ) |
This structure configures LLWU module with user selected posedge, wakeup source(s) enabled.
pe_mask | Select one or more OR'ed posedge external wakeup sources: LLWU_PTG6,LLWU_PTG2,LLWU_PTG1,LLWU_PTF6,LLWU_PTF0,LLWU_PTE6, LLWU_PTE5,LLWU_PTD7,LLWU_PTD6,LLWU_PTD4,LLWU_PTD2,LLWU_PTD0, LLWU_PTC5,LLWU_PTC3,LLWU_PTA6,LLWU_PTA4,LLWU_PTA0,LLWU_PTB1, LLWU_PTJ6,LLWU_PTK3,LLWU_PTF3,LLWU_PTI0,LLWU_PTI2,LLWU_PTL5. |
#define LLWU_MODULE_NEGEDGE_ONLY_DETECT_CONFIG | ( | ne_mask | ) |
This structure configures LLWU module with user selected negedge, wakeup source(s) enabled.
ne_mask | Select one or more OR'ed negedge external wakeup sources: LLWU_PTG6,LLWU_PTG2,LLWU_PTG1,LLWU_PTF6,LLWU_PTF0,LLWU_PTE6, LLWU_PTE5,LLWU_PTD7,LLWU_PTD6,LLWU_PTD4,LLWU_PTD2,LLWU_PTD0, LLWU_PTC5,LLWU_PTC3,LLWU_PTA6,LLWU_PTA4,LLWU_PTA0,LLWU_PTB1, LLWU_PTJ6,LLWU_PTK3,LLWU_PTF3,LLWU_PTI0,LLWU_PTI2,LLWU_PTL5. |
#define LLWU_MODULE_ANYEDGE_ONLY_DETECT_CONFIG | ( | pe_mask, | |
ne_mask | |||
) |
This structure configures LLWU module with user selected posedge, negedge and any edge wakeup source(s) enabled.
pe_mask | Select one or more OR'ed posedge external wakeup sources: LLWU_PTG6,LLWU_PTG2,LLWU_PTG1,LLWU_PTF6,LLWU_PTF0,LLWU_PTE6, LLWU_PTE5,LLWU_PTD7,LLWU_PTD6,LLWU_PTD4,LLWU_PTD2,LLWU_PTD0, LLWU_PTC5,LLWU_PTC3,LLWU_PTA6,LLWU_PTA4,LLWU_PTA0,LLWU_PTB1, LLWU_PTJ6,LLWU_PTK3,LLWU_PTF3,LLWU_PTI0,LLWU_PTI2,LLWU_PTL5. |
ne_mask | Select one or more OR'ed negedge external wakeup sources: LLWU_PTG6,LLWU_PTG2,LLWU_PTG1,LLWU_PTF6,LLWU_PTF0,LLWU_PTE6, LLWU_PTE5,LLWU_PTD7,LLWU_PTD6,LLWU_PTD4,LLWU_PTD2,LLWU_PTD0, LLWU_PTC5,LLWU_PTC3,LLWU_PTA6,LLWU_PTA4,LLWU_PTA0,LLWU_PTB1, LLWU_PTJ6,LLWU_PTK3,LLWU_PTF3,LLWU_PTI0,LLWU_PTI2,LLWU_PTL5. |
#define LLWU_MODULE_PERIPH_ONLY_DETECT_CONFIG | ( | per_mask | ) |
This structure configures LLWU module with user selected user selected peripheral wakeup source(s) enabled.
per_mask | Select one or more OR'ed internal peripheral wakeup sources: LLWU_LPTMR,LLWU_IRTC_ALM,LLWU_CMP0,LLWU_IRTC_IRQ,LLWU_CMP1, LLWU_CMP2. |
#define LLWU_MODULE_POSEDGE_PERIPH_DETECT_CONFIG | ( | pe_mask, | |
per_mask | |||
) |
This structure configures LLWU module with user selected posedge and peripheral wakeup source(s) enabled.
pe_mask | Select one or more OR'ed posedge external wakeup sources: LLWU_PTG6,LLWU_PTG2,LLWU_PTG1,LLWU_PTF6,LLWU_PTF0,LLWU_PTE6, LLWU_PTE5,LLWU_PTD7,LLWU_PTD6,LLWU_PTD4,LLWU_PTD2,LLWU_PTD0, LLWU_PTC5,LLWU_PTC3,LLWU_PTA6,LLWU_PTA4,LLWU_PTA0,LLWU_PTB1, LLWU_PTJ6,LLWU_PTK3,LLWU_PTF3,LLWU_PTI0,LLWU_PTI2,LLWU_PTL5. |
per_mask | Select one or more OR'ed internal peripheral wakeup sources: LLWU_LPTMR,LLWU_IRTC_ALM,LLWU_CMP0,LLWU_IRTC_IRQ,LLWU_CMP1, LLWU_CMP2. |
#define LLWU_MODULE_NEGEDGE_PERIPH_DETECT_CONFIG | ( | ne_mask, | |
per_mask | |||
) |
This structure configures LLWU module with user selected negedge and peripheral wakeup source(s) enabled.
ne_mask | Select one or more OR'ed negedge external wakeup sources: LLWU_PTG6,LLWU_PTG2,LLWU_PTG1,LLWU_PTF6,LLWU_PTF0,LLWU_PTE6, LLWU_PTE5,LLWU_PTD7,LLWU_PTD6,LLWU_PTD4,LLWU_PTD2,LLWU_PTD0, LLWU_PTC5,LLWU_PTC3,LLWU_PTA6,LLWU_PTA4,LLWU_PTA0,LLWU_PTB1, LLWU_PTJ6,LLWU_PTK3,LLWU_PTF3,LLWU_PTI0,LLWU_PTI2,LLWU_PTL5. |
per_mask | Select one or more OR'ed internal peripheral wakeup sources: LLWU_LPTMR,LLWU_IRTC_ALM,LLWU_CMP0,LLWU_IRTC_IRQ,LLWU_CMP1, LLWU_CMP2. |
#define LLWU_MODULE_ANYEDGE_PERIPH_DETECT_CONFIG | ( | pe_mask, | |
ne_mask, | |||
per_mask | |||
) |
This structure configures LLWU module with user selected posedge, negedge, any edge and peripheral wakeup source(s) enabled.
pe_mask | Select one or more OR'ed posedge external wakeup sources: LLWU_PTG6,LLWU_PTG2,LLWU_PTG1,LLWU_PTF6,LLWU_PTF0,LLWU_PTE6, LLWU_PTE5,LLWU_PTD7,LLWU_PTD6,LLWU_PTD4,LLWU_PTD2,LLWU_PTD0, LLWU_PTC5,LLWU_PTC3,LLWU_PTA6,LLWU_PTA4,LLWU_PTA0,LLWU_PTB1, LLWU_PTJ6,LLWU_PTK3,LLWU_PTF3,LLWU_PTI0,LLWU_PTI2,LLWU_PTL5. |
ne_mask | Select one or more OR'ed negedge external wakeup sources: LLWU_PTG6,LLWU_PTG2,LLWU_PTG1,LLWU_PTF6,LLWU_PTF0,LLWU_PTE6, LLWU_PTE5,LLWU_PTD7,LLWU_PTD6,LLWU_PTD4,LLWU_PTD2,LLWU_PTD0, LLWU_PTC5,LLWU_PTC3,LLWU_PTA6,LLWU_PTA4,LLWU_PTA0,LLWU_PTB1, LLWU_PTJ6,LLWU_PTK3,LLWU_PTF3,LLWU_PTI0,LLWU_PTI2,LLWU_PTL5. |
per_mask | Select one or more OR'ed internal peripheral wakeup sources: LLWU_LPTMR,LLWU_IRTC_ALM,LLWU_CMP0,LLWU_IRTC_IRQ,LLWU_CMP1, LLWU_CMP2. |