![]() |
M480 BSP V3.05.006
The Board Support Package for M480 Series
|
Macros | |
#define | WWDT_CLEAR_RESET_FLAG() |
Clear WWDT Reset System Flag. More... | |
#define | WWDT_CLEAR_INT_FLAG() |
Clear WWDT Compared Match Interrupt Flag. More... | |
#define | WWDT_GET_RESET_FLAG() |
Get WWDT Reset System Flag. More... | |
#define | WWDT_GET_INT_FLAG() |
Get WWDT Compared Match Interrupt Flag. More... | |
#define | WWDT_GET_COUNTER() |
Get WWDT Counter. More... | |
#define | WWDT_RELOAD_COUNTER() |
Reload WWDT Counter. More... | |
Functions | |
void | WWDT_Open (uint32_t u32PreScale, uint32_t u32CmpValue, uint32_t u32EnableInt) |
Open WWDT and start counting. 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 | ( | ) |
Reload WWDT Counter.
None |
This macro is used to reload the WWDT counter value to 0x3F.
void WWDT_Open | ( | uint32_t | u32PreScale, |
uint32_t | u32CmpValue, | ||
uint32_t | u32EnableInt | ||
) |
Open WWDT and start counting.
[in] | u32PreScale | Pre-scale setting of WWDT counter. Valid values are: |
[in] | u32CmpValue | Setting the window compared value. Valid values are between 0x0 to 0x3F. |
[in] | u32EnableInt | Enable WWDT time-out interrupt function. Valid values are TRUE and FALSE. |
This function makes WWDT module start counting with different counter period by pre-scale setting and compared window value.