WDT of the nRF52, behind the Watchdog functions.
More...
WDT of the nRF52, behind the Watchdog functions.
The device starts the watchdog when it comes up, with a timeout of CONFIG_WATCHDOG_TIMEOUT_MS, and enables the interrupt it raises just before the reset, which reports to the watchdog_set_callback() subscriber. Nothing stops it once started but a reset, and its configuration is fixed from then on: when the bootloader started it, its timeout stays.
◆ pbl_watchdog_nrf5
◆ PBL_WATCHDOG_NRF5_DEFINE
| #define PBL_WATCHDOG_NRF5_DEFINE |
( |
|
sym, |
|
|
|
_name |
|
) |
| |
Value:
}
#define PBL_DEVICE_INIT(sym, _name, _init, _parent)
Initializer for the struct pbl_device of device instance sym.
Definition device.h:169
#define PBL_DEVICE_STATE_DEFINE(sym)
Define the runtime state of device instance sym.
Definition device.h:132
Watchdog device.
Definition nrf5.h:21
Define the watchdog device.
- Parameters
-
| sym | Symbol of the device. |
| _name | Name. |