Appiko
|
Hardware abstraction layer the watchdog timer peripheral in nRF5x SoCs. More...
Functions | |
void | hal_wdt_init (uint32_t period_ms, void(*wdt_timeout_handler)(void)) |
void | hal_wdt_start (void) |
void | hal_wdt_feed (void) |
void hal_wdt_feed | ( | void | ) |
Feeds the WDT so that it does not bite.
Definition at line 64 of file hal_wdt.c.
Referenced by hal_wdt_init().
void hal_wdt_init | ( | uint32_t | period_ms, |
void(*)(void) | wdt_timeout_handler | ||
) |
Initialize the WDT peripheral
period_ms | The period in ms after which the WDT bites if not fed |
wdt_timeout_handler | The handler to call in case WDT bites. |
Definition at line 34 of file hal_wdt.c.
References hal_wdt_feed(), and LFCLK_TICKS_MS.