19.4.1 Watchdog Timer Configuration Register Bit Definitions

The watchdog timer registers are described in detail in the following tables. 

Table 19-4. WDOGVALUE
Bit Number Name Reset Value Description
[31:0] WDOGVALUE WDOGLOAD This register contains the current value of the counter in the watchdog timer. This register is reset with the value in the WDOGLOAD system register.

Table 19-5. WDOGLOAD
Bit Number Name Reset Value Description
[31:0] WDOGLOAD[31:6] WDOGLOAD This register contains the upper 26 bits load value for the counter in the watchdog timer. This will be updated by the WDOGLOAD[25:0] bits of the system registers. The least significant bits of the register always have the value of 0x3F.
Table 19-6. WDOGMVRP
Bit Number Name Reset Value Description
[31:0] WDOGMVRP WDOGMVRP This register contains the maximum value for which refreshing is permitted.

If the watchdog timer is refreshed (by writing to the WDOGREFRESH register) while the counter value is greater than the value in the WDOGMVRP, then a reset/interrupt is generated. This read only register is loaded with the user flash bit value written in the WDOGMVRP[31:0] system register.

Table 19-7. WDOGREFRESH
Bit Number Name Reset Value Description
[31:0] WDOGREFRESH N/A This is a write only register which reads as zero. Writing the value 0xAC15DE42 to this register causes the counter to be refreshed with the value in the Table 19-5 register.

If this register is written to, while the current value of the counter is greater than the value in the Table 19-6 register, the counter is refreshed and a reset or timeout interrupt is generated (depending on the MODE bit of the WDOGCONTROL). While the counter value is greater than the Table 19-6, there is effectively a time window in which it is forbidden to refresh the watchdog timer.

When the counter is in between the Table 19-6 level and 0, the watchdog timer is in a time window where it is permitted for it to be refreshed.

It is possible to avoid having the forbidden and permitted time windows for refreshing the watchdog timer by setting the value of the Table 19-6 to a value greater than that stored in the Table 19-5.

Table 19-8. WDOGENABLE
Bit Number Name Reset Value Description
[31:1] Reserved 0x0 Reserved
0 ENABLE WDOGENABLE Enable bit for watchdog timer.

This bit holds the value of the USER FLASH bit written in the WDOGENABLE bit of the WDOG_CR system register.

Table 19-9. WDOGCONTROL
Bit Number Name Reset Value Description
[31:3] Reserved 0 To provide compatibility to the future products, the value of a reserved bit should be preserved across a read-modify-write operation.
2 MODE WDOGMODE Operation mode for the watchdog timer.

0: reset is generated if counter reaches zero.

1: interrupt is generated if counter reaches zero.

This read only register holds the value of user flash bit written in the WDOGMODE bit of the WDOG_CR system register.

1 WAKEUPINTEN 0 0: The WDOGWAKEUPINT interrupt generation is disabled.

1: The WDOGWAKEUPINT interrupt generation is enabled.

0 TIMEOUTINTEN 0 0: The WDOGTIMEOUTINT interrupt generation is disabled.

1: The WDOGTIMEOUTINT interrupt generation is enabled.

Table 19-10. WDOGSTATUS
Bit Number Name Reset Value Description
[31:1] Reserved 0 To provide the compatibility to the future products, the value of a reserved bit should be preserved across a read-modify-write operation
0 REFRESHSTATUS 0 Refresh status

0: The counter is in forbidden window, refresh should not be initiated.

1: The counter in is permitted window, refresh is allowed.

Table 19-11. WDOGRIS
Bit Number Name Reset Value Description
[31:2] Reserved 0 To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.
1 WAKEUPRS 0 Raw status of wakeup interrupt.

Writing '1' to this bit clears the bit. Writing '0' has no effect.

0 TIMEOUTRS 0 Raw status of counter timeout interrupts.

Writing '1' to this bit clears the bit. Writing '0' has no effect.