Typedefs |
|
| typedef void(* | nrf_bootloader_dfu_timeout_callback_t )(void) |
|
Handler called on timeout of a timer requested by the watchdog.
|
|
Functions |
|
| void | nrf_bootloader_dfu_inactivity_timer_restart (uint32_t timeout_ms, nrf_bootloader_dfu_timeout_callback_t callback) |
|
Function for restarting the inactivity timer.
More...
|
|
| void | nrf_bootloader_wdt_feed_timer_start (uint32_t timeout_ms, nrf_bootloader_dfu_timeout_callback_t callback) |
|
Function for initializing and starting a repeated timer for feeding the watchdog.
More...
|
|
Detailed Description
Function Documentation
| void nrf_bootloader_dfu_inactivity_timer_restart | ( | uint32_t | timeout_ms , |
| nrf_bootloader_dfu_timeout_callback_t | callback | ||
| ) |
Function for restarting the inactivity timer.
- Note
- Calling this function cancels any previous calls to this function.
- Parameters
-
[in] timeout_ms The number of milliseconds until reset if not restarted. If 0 is passed, the timer will be stopped and not restarted. [in] callback Function to be called on timeout.
| void nrf_bootloader_wdt_feed_timer_start | ( | uint32_t | timeout_ms , |
| nrf_bootloader_dfu_timeout_callback_t | callback | ||
| ) |
Function for initializing and starting a repeated timer for feeding the watchdog.
- Parameters
-
[in] timeout_ms Timer period. [in] callback Function called on every timeout.