CMSDK APB watchdog of the QEMU Pebble machines.
More...
CMSDK APB watchdog of the QEMU Pebble machines.
The device starts the watchdog when it comes up, with a timeout of CONFIG_WATCHDOG_TIMEOUT_MS. The reset cause comes from the system controller.
◆ pbl_watchdog_qemu
| Data Fields |
|
uintptr_t |
base |
Registers. |
|
struct pbl_watchdog |
wdt |
Watchdog. |
◆ PBL_WATCHDOG_QEMU_DEFINE
| #define PBL_WATCHDOG_QEMU_DEFINE |
( |
|
sym, |
|
|
|
_name, |
|
|
|
_base |
|
) |
| |
Value:
.wdt =
PBL_WATCHDOG_INIT(sym, _name,
nullptr, &pbl_watchdog_qemu_ops), .base = (_base), \
}
Watchdog device.
Definition qemu.h:21
Watchdog device.
Definition watchdog.h:54
#define PBL_WATCHDOG_STATE_DEFINE(sym)
Define the state of a watchdog device.
Definition watchdog.h:74
#define PBL_WATCHDOG_INIT(sym, _name, _parent, _ops)
Initializer of a watchdog device.
Definition watchdog.h:84
Define the watchdog device.
- Parameters
-
| sym | Symbol of the device. |
| _name | Name. |
| _base | Registers. |