Is it possible to set any value to the Watchdog Timer? How can I change the underflow time of the Watchdog Timer?
No, it is impossible to set any value to the Watchdog Timer. If any value is set to the WDTS Register, the value of the Watchdog Timer returns to “7FFFh”, regardless of the set value.
There are two ways to change the underflow time of the Watchdog Timer.
- Change the count source of the Watchdog Timer by the WDT count source protective bit (PM22 bit of the PM2 Register)
- Change the division ratio of the prescaler of the Watchdog Timer by the prescaler select bit (WDC7 bit of the WDC Register)
Refer to the hardware manual for detail.
|M16C/6NK, M16C/6NL, M16C/6NM, M16C/6NN|