English
Language : 

4524_M Datasheet, PDF (197/310 Pages) Renesas Technology Corp – 4-BIT CISC SINGLE-CHIP MICROCOMPUTER 720 FAMILY / 4500 SERIES
4524 Group
APPLICATION
2.3 Timers
2.3 Timers
The 4524 Group has four 8-bit timers (each has a reload register), a 4-bit timer 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
s Timer operation
(Timer 1 has the timer 1 count start trigger function from D8/INT0 pin input)
(2) Timer 2
s Timer operation
(3) Timer 3
s Timer operation
(Timer 3 has the timer 3 count start trigger function from D9/INT1 pin input)
(4) Timer 4
s Timer operation
(Timer 4 has the PWM output function)
(5) Timer 5 (16-bit timer)
s Timer operation
(Timer 5 has the function to return from the clock operating mode (POF instruction execution))
(6) Timer LC
s LCD clock generating
(7) 16-bit timer
s Watchdog function
Watchdog timer provides a method to reset the system when a program run-away occurs.
System operates after it is released from reset. When the timer count value underflows, the WDF1
flag is set to “1.” Then, if the WRST instruction is never executed until timer WDT counts 65534,
WDF2 flag is set to “1,” and system reset occurs.
When the DWDT instruction and the WRST instruction are executed continuously, the watchdog timer
function is invalid.
The WRST instruction has the skip function. When the WRST instruction is executed while the WDF1
flag is “1”, the WDF1 flag is cleared to “0” and the next instruction is skipped.
Rev.2.00 Aug, 06 2004
REJ09B0107-0200Z
2-33