![]() |
Nano102_112 Series BSP
V3.03.002
The Board Support Package for Nano102_112 Series
|
Nano102/112 series WWDT driver header file. More...
Go to the source code of this file.
Macros | |
#define | WWDT_PRESCALER_1 (0UL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_2 (1UL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_4 (2UL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_8 (3UL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_16 (4UL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_32 (5UL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_64 (6UL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_128 (7UL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_192 (8UL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_256 (9UL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_384 (0xAUL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_512 (0xBUL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_768 (0xCUL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_1024 (0xDUL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_1536 (0xEUL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_PRESCALER_2048 (0xFUL << WWDT_CR_PERIODSEL_Pos) |
#define | WWDT_RELOAD_WORD (0x00005AA5) |
#define | WWDT_CLEAR_RESET_FLAG() |
This macro clear WWDT time-out reset system flag. More... | |
#define | WWDT_CLEAR_INT_FLAG() |
This macro clears WWDT compare match interrupt flag. More... | |
#define | WWDT_GET_RESET_FLAG() |
This macro is use to get WWDT time-out reset system flag. More... | |
#define | WWDT_GET_INT_FLAG() |
This macro is used to indicate WWDT compare match interrupt flag. More... | |
#define | WWDT_GET_COUNTER() |
This macro to reflects current WWDT counter value. More... | |
#define | WWDT_RELOAD_COUNTER() |
This macro is used to reload the WWDT counter value to 0x3F. More... | |
Functions | |
void | WWDT_Open (uint32_t u32PreScale, uint32_t u32CmpValue, uint32_t u32EnableInt) |
This function make WWDT module start counting with different counter period and compared window value. More... | |
Nano102/112 series WWDT driver header file.
Definition in file wwdt.h.