
R8C/10 Group
Rev.1.20 Jan 27, 2006 page 55 of 180
REJ09B0019-0120
12. Timers
The microcomputer has three 8-bit timers and one 16-bit timer. The three 8-bit timers are Timer X, Timer Y,
and Timer Z and each one has an 8-bit prescaler. The 16-bit timer is Timer C and has a capture. All these
timers function independently. The count source for each timer is the operating clock that regulates the
timing of timer operations such as counting and reloading.
Table 12.1 lists functional comparison.
Item Timer X Timer Y Timer Z Timer C
Configuration 8-bit timer 8-bit timer 8-bit timer 16-bit timer
with 8-bit with 8-bit with 8-bit
prescaler prescaler prescaler
Count Down Down Down Up
Count source •f1 •f1 •f1 •f1
•f2 •f8 •f2 •f8
•f8 •fRING •f8 •f32
•f32 •Input from •Timer Y
CNTR1 pin underflow
Function Timer mode provided provided provided not provided
Pulse output mode provided not provided not provided not provided
Event counter mode provided provided
(1)
not provided not provided
Pulse width
measurement mode provided not provided not provided not provided
Pulse period
measurement mode provided not provided not provided not provided
Programmable waveform
generation mode not provided provided provided not provided
Programmable one-shot
generation mode not provided not provided provided not provided
Programmable wait
one-shot generation mode not provided not provided provided not provided
Capture not provided not provided not provided provided
Input pin CNTR0 CNTR1 INT0 TCIN
Output pin CNTR0
CNTR0 CNTR1 TZOUT not provided
Related interrupt Timer X int Timer Y int Timer Z int Timer C int
INT1 int INT2 int INT0 int INT3 int
Timer stop provided provided provided provided
Table 12.1 Functional Comparison
NOTES:
1. Select the input from the CNTR
1 pin as a count source of timer mode.
12. Timers
Kommentare zu diesen Handbüchern