106
6174B–ATARM–07-Nov-05
AT91FR40162S Preliminary
15.2
WD Enabling Sequence
To enable the Watchdog Timer the sequence is as follows:
1.
Disable the Watchdog by clearing the bit WDEN:
Write 0x2340 to WD_OMR
This step is unnecessary if the WD is already disabled (reset state).
2.
Initialize the WD Clock Mode Register:
Write 0x373C to WD_CMR
(HPCV = 15 and WDCLKS = MCK/8)
3.
Restart the timer:
Write 0xC071 to WD_CR
4.
Enable the watchdog:
Write 0x2345 to WD_OMR (interrupt enabled)
Содержание AT91FR40162S
Страница 180: ...180 6174B ATARM 07 Nov 05 AT91FR40162S Preliminary Figure 19 2 MCKO Relative to NRST NRST tD MCKO...
Страница 195: ...195 6174B ATARM 07 Nov 05 AT91FR40162S Preliminary 20 5 2 CE Controlled Figure 20 15 CE Controlled...
Страница 204: ...204 6174B ATARM 07 Nov 05 AT91FR40162S Preliminary 23 AT91FR40162S Errata There is no known errata for the AT91FR40162S...