23.5.2 Watchdog Timer Mode Register

Write access to this register has no effect if the LOCKMR command is issued in WDT_CR (unlocked on hardware reset).

The WDT_MR register values must not be modified within three slow clock periods following a restart of the watchdog performed by a write access in WDT_CR. Any modification will cause the watchdog to trigger an end of period earlier than expected.

Name: WDT_MR
Offset: 0x04
Reset: 0x3FFF2FFF
Property: Read/Write

Bit 3130292827262524 
   WDIDLEHLTWDDBGHLTWDD[11:8] 
Access R/WR/WR/WR/WR/WR/W 
Reset 111111 
Bit 2322212019181716 
 WDD[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 11111111 
Bit 15141312111098 
 WDDIS WDRSTENWDFIENWDV[11:8] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0101111 
Bit 76543210 
 WDV[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 11111111 

Bit 29 – WDIDLEHLT Watchdog Idle Halt

ValueDescription
0

The watchdog runs when the system is in idle state.

1

The watchdog stops when the system is in idle state.

Bit 28 – WDDBGHLT Watchdog Debug Halt

ValueDescription
0

The watchdog runs when the processor is in debug state.

1

The watchdog stops when the processor is in debug state.

Bits 27:16 – WDD[11:0] Watchdog Delta Value

Defines the permitted range for reloading the Watchdog Timer.

If the Watchdog Timer value is less than or equal to WDD, setting bit WDT_CR.WDRSTT restarts the timer.

If the Watchdog Timer value is greater than WDD, setting bit WDT_CR.WDRSTT causes a watchdog error.

Bit 15 – WDDIS Watchdog Disable

When setting the WDDIS bit, and while it is set, the fields WDV and WDD must not be modified.
ValueDescription
0

Enables the Watchdog Timer.

1

Disables the Watchdog Timer.

Bit 13 – WDRSTEN Watchdog Reset Enable

ValueDescription
0

A watchdog fault (underflow or error) has no effect on the resets.

1

A watchdog fault (underflow or error) triggers a watchdog reset.

Bit 12 – WDFIEN Watchdog Fault Interrupt Enable

ValueDescription
0

A watchdog fault (underflow or error) has no effect on interrupt.

1

A watchdog fault (underflow or error) asserts interrupt.

Bits 11:0 – WDV[11:0] Watchdog Counter Value

Defines the value loaded in the 12-bit watchdog counter.