20.4.1 Initialization
Normal Mode
Before the WDT is enabled in Normal mode, it must be configured by following these
steps:
- Select the time-out period by writing the Time-Out Period bit field in the Configuration register (CONFIG.PER).
- Enable the WDT by writing the Enable bit in the Control A register (CTRLA.ENABLE).
Window Mode
Before the WDT is enabled in Window mode, it must be configured by following these
steps:
- Select the time-out period by writing the Time-Out Period bit field in the Configuration register (CONFIG.PER).
- Select the closed window period by writing the Window Mode Time-Out Period bit field in the Configuration register (CONFIG.WINDOW).
- Enable the Window mode by writing a
‘
1’ to the Window Enable bit in the Control A register (CTRLA.WEN). - Enable the WDT by writing the Enable bit in the Control A register (CTRLA.ENABLE).
