beautypg.com

3 timers, 1 timer functions, Application – Renesas 4514 User Manual

Page 129

background image

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 P3

0

/INT0 pin input)

(2)

Timer 2

Timer operation

(3)

Timer 3

Timer operation

(Timer 3 has the timer 3 count start trigger function from P3

1

/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 “BFFF

16

” or “3FFF

16

,” 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.

This manual is related to the following products: