uint32_t hw_watchdog_maxtimeout(void)
Return the maximum supported watchdog timeout.
struct hw_watchdog_t hw_watchdog_t
Watchdog adapter.
void hw_watchdog_finalize(hw_watchdog_t *watchdog)
Finalize the watchdog timer subsystem.
hw_watchdog_t * hw_watchdog_init()
Initialize the watchdog timer subsystem.
void hw_watchdog_enable(hw_watchdog_t *watchdog, bool enable)
Enable or disable the watchdog timer.
void hw_watchdog_reset(hw_watchdog_t *watchdog, uint32_t delay_ms)
Cause a reset after a delay.
bool hw_watchdog_did_reset(hw_watchdog_t *watchdog)
Check if the watchdog triggered a system reset.
bool hw_watchdog_valid(hw_watchdog_t *watchdog)
Check if the watchdog is in a valid state.