Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

at91_wdt.h File Reference


Detailed Description

AT91 peripherals.

 *
 * $Log: at91_wdt.h,v $
 * Revision 1.3  2006/08/31 19:13:44  haraldkipp
 * Added LSB definitions for counter and delta values.
 *
 * Revision 1.2  2006/07/18 14:06:18  haraldkipp
 * Changed coding style to follow existing headers.
 * Removed old lines, which had been derived from at91_wd.h.
 * Corrected register addresses, thanks to Jix.
 * Register names changed, now following the datasheet.
 *
 * Revision 1.1  2006/07/05 07:45:28  haraldkipp
 * Split on-chip interface definitions.
 *
 *
 * 


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.


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/