#define WDT_TIMER_VAL_LOCK (0x01 << 2)
struct wdt_config {
- int intr_mode_only; /* If set to 1, a watchdog timeout will trigger an interrupt instead of a reset */
+ uint8_t clk_sel; /* Unused, only here for API compatibility */
+ uint8_t intr_mode_only; /* If set to 1, a watchdog timeout will trigger an interrupt instead of a reset */
void (*callback)(void);
uint32_t locks; /* Bitfield from WDT_*_LOCK defined in watchdog.h */
/* Number of clk_src clocks before the watchdog timer times out. Will be divided by 4 to give