nRF5 SDK v17.1.0
Functions
Automated feeding of the watchdog

Module that keeps the WDT from timing out if the WDT has been started in the application. More...

Functions

void nrf_bootloader_wdt_init (void)
 Function for checking whether the WDT peripheral is started and for getting its configuration. More...
 
void nrf_bootloader_wdt_feed (void)
 Function for feeding the watchdog (if active).
 

Detailed Description

Module that keeps the WDT from timing out if the WDT has been started in the application.

Function Documentation

void nrf_bootloader_wdt_init ( void  )

Function for checking whether the WDT peripheral is started and for getting its configuration.

The module uses a timer to start regular feeding of the watchdog. Timer interval is chosen based on watchdog settings. When nrf_bootloader_wdt_feed is called, internal feeding is stopped assuming that the application takes responsibity of watchdog feeding. However, if NRF_BL_WDT_MAX_SCHEDULER_LATENCY_MS or the watchdog is configured to run during sleep, then internal feeding (from timeout handler context) is kept active.


Documentation feedback | Developer Zone | Subscribe | Updated