Macros | |
#define | WatchdogCC32XX_CMD_IS_TIMER_ENABLE (Watchdog_CMD_RESERVED + 0) |
Command used by Watchdog_control to determines whether the watchdog timer is enabled. More... | |
#define | WatchdogCC32XX_CMD_GET_TIMER_VALUE (Watchdog_CMD_RESERVED + 1) |
Command used by Watchdog_control to gets the current watchdog timer value. More... | |
#define | WatchdogCC32XX_CMD_IS_TIMER_LOCKED (Watchdog_CMD_RESERVED + 2) |
Command used by Watchdog_control to determines whether the watchdog timer is locked. More... | |
#define | WatchdogCC32XX_CMD_GET_TIMER_RELOAD_VALUE (Watchdog_CMD_RESERVED + 3) |
Command used by Watchdog_control to gets the current watchdog timer reload value. More... | |
Watchdog_CMD_* macros are general command codes for Watchdog_control(). Not all Watchdog driver implementations support these command codes.
WatchdogCC32XX_CMD_* macros are command codes only defined in the WatchdogCC32XX.h driver implementation and need to:
#define WatchdogCC32XX_CMD_IS_TIMER_ENABLE (Watchdog_CMD_RESERVED + 0) |
Command used by Watchdog_control to determines whether the watchdog timer is enabled.
With this command code, arg is a pointer to a bool
. *arg contains true
if the watchdog timer is enabled, else false
if it is not.
#define WatchdogCC32XX_CMD_GET_TIMER_VALUE (Watchdog_CMD_RESERVED + 1) |
Command used by Watchdog_control to gets the current watchdog timer value.
With this command code, arg is a pointer to an integer. *arg contains the current value of the watchdog timer.
#define WatchdogCC32XX_CMD_IS_TIMER_LOCKED (Watchdog_CMD_RESERVED + 2) |
Command used by Watchdog_control to determines whether the watchdog timer is locked.
With this command code, arg is a pointer to a bool
. *arg contains true
if the watchdog timer is locked, else false
if it is not.
#define WatchdogCC32XX_CMD_GET_TIMER_RELOAD_VALUE (Watchdog_CMD_RESERVED + 3) |
Command used by Watchdog_control to gets the current watchdog timer reload value.
With this command code, arg is a pointer to an integer. *arg contains the current value loaded into the watchdog timer when the count reaches zero for the first time.