7-3 WDT Function

These are WDT functions other than standby release.

Set it like this to use the watchdog timer function.
Overwrite 0 or other low number in the timer counter so that it does not overflow.
If it overflows, power on or manual reset can be requested.
There is a flag bit to distinguish a reset request from an external pin. It is checked in the startup routine and processing can be branched.
When it is reset by WDT, the timer counter does not stop. Stop it in the startup routine.

Set it like this to use it as an interval timer.
The interval is the time until overflow.

This interrupt event code is used.