APPLICATION
2.3 Timers
2-26
4513/4514 Group User’s Manual
2.3 Timers
The 4513/4514 Group has four 8-bit timers (each has a reload register) and a 16-bit fixed dividing frequency
timer which has the watchdog timer function.
This section describes individual types of timers, related registers, application examples using timers and
notes.
2.3.1 Timer functions
(1) Timer 1
■ Timer operation
(Timer 1 has the timer 1 count start trigger function from P30/INT0 pin input)
(2) Timer 2
■ Timer operation
(3) Timer 3
■ Timer operation
(Timer 3 has the timer 3 count start trigger function from P31/INT1 pin input)
(4) Timer 4
■ Timer operation
(5) 16-bit timer
■ Timer 2 count source
(16-bit fixed dividing frequency)
■ Watchdog function
Watchdog timer provides a method to reset the system when a program runs incorrectly.
When the count value of timer WDT reaches “BFFF16” or “3FFF16,” the WDF1 flag is set to “1.”
If the WRST instruction is never executed while timer WDT counts 32767, WDF2 flag is set to “1”
to reset the microcomputer.