This section describes functions and macros of the driver's API.
|
static uint32 | LLWU_GetFlags (void) |
| Returns flag(s) indicating which internal wakeup source caused the MCU to exit VLLS mode. More...
|
|
#define LLWU_ClrFlags |
( |
|
mask | ) |
|
This macro clears wakeup flag(s) indicated by an input mask.
- Parameters
-
- Note
- Implemented as an inline macro.
- See also
- LLWU_GetFlags
#define LLWU_Init |
( |
|
cfg, |
|
|
|
ip, |
|
|
|
callback |
|
) |
| |
This function initializes LLWU module. Wakeup sources shall be configured by the user in configuration structure LLWU Configuration Structures. Function also installs callback function for interrupt vector 28 (LLWU).
- Parameters
-
- Note
- Implemented as a function call.
- Warning
- After enabling an external pin filter or changing the source pin, wait at least 5 LPO clock cycles before entering VLLSx mode to allow the filter to initialize.
static uint32 LLWU_GetFlags |
( |
void |
| ) |
|
|
inlinestatic |
This macro returns flag(s) indicating which internal wakeup source caused the MCU to exit VLLS mode.
- Returns
- uint32 Mask formed of the LLWU Wakeup Flags.
- Note
- Implemented as an inline macro. Flags associated with on-chip peripherals, external input pins, filtered and unfiltered, must be cleared by software prior to entry to VLLSx mode.
- See also
- LLWU_ClrFlags()