| Periph ID AIC | Symbol | Description |
|---|---|---|
| 1 | (AT91C_ID_SYS) | System Interrupt |
| Function | Description |
|---|---|
| AT91F_WDTC_CfgPMC | Enable Peripheral clock in PMC for WDTC |
| Offset | Field | Description |
|---|---|---|
| 0x0 | WDTC_WDCR | Watchdog Control Register |
| 0x4 | WDTC_WDMR | Watchdog Mode Register |
| 0x8 | WDTC_WDSR | Watchdog Status Register |
| Function | Description |
|---|---|
| AT91F_WDTSGettatus | Get Watchdog Status |
| AT91F_WDTGetPeriod | Translate ms into Watchdog Compatible value |
| AT91F_WDTSetMode | Set Watchdog Mode Register |
| AT91F_WDTRestart | Restart Watchdog |
| Offset | Name | Description |
|---|---|---|
| 0 | WDTC_WDRSTT AT91C_WDTC_WDRSTT | Watchdog Restart 0 = No effect. 1 = Reload the Watchdog. |
| 31..24 | WDTC_KEY AT91C_WDTC_KEY | Watchdog KEY Password Should be written at value 0xA5. |
| Offset | Name | Description |
|---|---|---|
| 11..0 | WDTC_WDV AT91C_WDTC_WDV | Watchdog Timer Restart Defines the value loaded in the 16-bit counter. Programming 0 disables the wathchdog. |
| 12 | WDTC_WDFIEN AT91C_WDTC_WDFIEN | Watchdog Fault Interrupt Enable 0 = A Watchdog fault (underflow or error) has no effect on SCIRQ. 1 = A Watchdog fault (underflow or error) asserts SCIRQ. |
| 13 | WDTC_WDRSTEN AT91C_WDTC_WDRSTEN | Watchdog Reset Enable 0 = A watchdog overflow has no effect on the resets. 1 = A watchdog overflow trigs a watchdog reset (general reset). |
| 14 | WDTC_WDRPROC AT91C_WDTC_WDRPROC | Watchdog Timer Restart 0 = A watchdog overflow has no effect on the processor reset. 1 = A watchdog overflow trigs a processor reset. |
| 15 | WDTC_WDDIS AT91C_WDTC_WDDIS | Watchdog Disable |
| 27..16 | WDTC_WDD AT91C_WDTC_WDD | Watchdog Delta Value |
| 28 | WDTC_WDDBGHLT AT91C_WDTC_WDDBGHLT | Watchdog Debug Halt 0 = The watchdog runs when the processor is in debug state. 1 = The watchdog stops when the processor is in debug state. |
| 29 | WDTC_WDIDLEHLT AT91C_WDTC_WDIDLEHLT | Watchdog Idle Halt 0 = The watchdog runs when the system is in idle mode. 1 = The watchdog stops when the system is in idle mode. |
| Offset | Name | Description |
|---|---|---|
| 0 | WDTC_WDUNF AT91C_WDTC_WDUNF | Watchdog Underflow 0 = No Watchdog Underflow occured since the last read of WDTC_WDSR. 1 = At least one Watchdog Underflow occured since the last read of WDTC_WDSR. |
| 1 | WDTC_WDERR AT91C_WDTC_WDERR | Watchdog Error 0 = No watchdog error occured since the last read of WDTC_WDSR. 1 = At least one watchdog error occured since the last read of WDTC_WDSR. |