![]() |
Nano100BN Series BSP
V3.03.002
The Board Support Package for Nano100BN Series
|
Macros | |
| #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... | |
| #define WWDT_CLEAR_INT_FLAG | ( | ) |
| #define WWDT_CLEAR_RESET_FLAG | ( | ) |
| #define WWDT_GET_COUNTER | ( | ) |
| #define WWDT_GET_INT_FLAG | ( | ) |
| #define WWDT_GET_RESET_FLAG | ( | ) |
| #define WWDT_RELOAD_COUNTER | ( | ) |
| 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.
| [in] | u32PreScale | Prescale period for the WWDT counter period. Valid values are: |
| [in] | u32CmpValue | Window compared value. Valid values are between 0x0 to 0x3F |
| [in] | u32EnableInt | Enable WWDT interrupt or not. Valid values are TRUE and FALSE |
1.8.15