![]() |
NANO103 BSP V3.01.004
The Board Support Package for Nano103 Series
|
Macros | |
#define | WDT_CLEAR_RESET_FLAG() |
This macro clear WDT time-out reset system flag. More... | |
#define | WDT_CLEAR_TIMEOUT_INT_FLAG() |
This macro clear WDT time-out interrupt flag. More... | |
#define | WDT_CLEAR_TIMEOUT_WAKEUP_FLAG() |
This macro clear WDT time-out wake-up system flag. More... | |
#define | WDT_GET_RESET_FLAG() |
This macro indicate WDT time-out to reset system or not. More... | |
#define | WDT_GET_TIMEOUT_INT_FLAG() |
This macro indicate WDT time-out interrupt occurred or not. More... | |
#define | WDT_GET_TIMEOUT_WAKEUP_FLAG() |
This macro indicate WDT time-out waked system up or not. More... | |
#define | WDT_RESET_COUNTER() |
This macro is used to reset 18-bit WDT counter. More... | |
Functions | |
__STATIC_INLINE void | WDT_Close (void) |
This function stops WDT counting and disable WDT module. More... | |
__STATIC_INLINE void | WDT_EnableInt (void) |
This function enables the WDT time-out interrupt. More... | |
__STATIC_INLINE void | WDT_DisableInt (void) |
This function disables the WDT time-out interrupt. More... | |
void | WDT_Open (uint32_t u32TimeoutInterval, uint32_t u32ResetDelay, uint32_t u32EnableReset, uint32_t u32EnableWakeup) |
This function make WDT module start counting with different time-out interval. More... | |
#define WDT_CLEAR_RESET_FLAG | ( | ) |
#define WDT_CLEAR_TIMEOUT_INT_FLAG | ( | ) |
#define WDT_CLEAR_TIMEOUT_WAKEUP_FLAG | ( | ) |
#define WDT_GET_RESET_FLAG | ( | ) |
#define WDT_GET_TIMEOUT_INT_FLAG | ( | ) |
#define WDT_GET_TIMEOUT_WAKEUP_FLAG | ( | ) |
#define WDT_RESET_COUNTER | ( | ) |
__STATIC_INLINE void WDT_Close | ( | void | ) |
__STATIC_INLINE void WDT_DisableInt | ( | void | ) |
__STATIC_INLINE void WDT_EnableInt | ( | void | ) |
void WDT_Open | ( | uint32_t | u32TimeoutInterval, |
uint32_t | u32ResetDelay, | ||
uint32_t | u32EnableReset, | ||
uint32_t | u32EnableWakeup | ||
) |
This function make WDT module start counting with different time-out interval.
[in] | u32TimeoutInterval | Time-out interval period of WDT module. Valid values are: |
[in] | u32ResetDelay | Reset delay period while WDT time-out happened. Valid values are: |
[in] | u32EnableReset | Enable WDT reset system function. Valid values are TRUE and FALSE |
[in] | u32EnableWakeup | Enable WDT wake-up system function. Valid values are TRUE and FALSE |