Nut/OS  4.10.3
API Reference
at91_wdt.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Watch Dog Control Register

#define WDT_CR_OFF   0x00000000
 Watchdog control register offset.
#define WDT_CR   (WDT_BASE + WDT_CR_OFF)
 Watchdog control register address.
#define WDT_WDRSTT   0x00000001
 Watchdog restart.
#define WDT_KEY   0xA5000000
 Watchdog password.

Watch Dog Mode Register

#define WDT_MR_OFF   0x00000004
 Mode register offset.
#define WDT_MR   (WDT_BASE + WDT_MR_OFF)
 Mode register address.
#define WDT_WDV   0x00000FFF
 Counter value mask.
#define WDT_WDV_LSB   0
 Counter value LSB.
#define WDT_WDFIEN   0x00001000
 Fault interrupt enable.
#define WDT_WDRSTEN   0x00002000
 Reset enable.
#define WDT_WDRPROC   0x00004000
 Eset processor enable.
#define WDT_WDDIS   0x00008000
 Watchdog disable.
#define WDT_WDD   0x0FFF0000
 Delta value mask.
#define WDT_WDD_LSB   16
 Delta value LSB.
#define WDT_WDDBGHLT   0x10000000
 Watchdog debug halt.
#define WDT_WDIDLEHLT   0x20000000
 Watchdog idle halt.

Watch Dog Status Register

#define WDT_SR_OFF   0x00000008
 Status register offset.
#define WDT_SR   (WDT_BASE + WDT_SR_OFF)
 Status register address.
#define WDT_WDUNF   0x00000001
 Watchdog underflow.
#define WDT_WDERR   0x00000002
 Watchdog error.