Chapter 12. Timers - Renesas M16C Series Hardware Manual

16-bit microcopmuter
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

R8C/11 Group
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 input capture and
output compare. 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.
Table 12.1 Functional Comparison
Item
Configuration
Count
Count source
Function
Timer mode
Pulse output mode
Event counter mode
Pulse width
measurement mode
Pulse period
measurement mode
Programmable waveform
generation mode
Programmable one-shot
generation mode
Programmable wait
one-shot generation mode
Input capture mode
Output compare mode
Input pin
Output pin
Related interrupt
Timer stop
NOTES:
1. Select the input from the CNTR
Rev.1.20
Jan 27, 2006
REJ09B0062-0120
8-bit timer
with 8-bit
prescaler
Down
•f
1
•f
2
•f
8
•f
32
provided
provided
provided
provided
provided
not provided
not provided
not provided
not provided
not provided
CNTR
CNTR
__________
CNTR
Timer X int
_____
INT1 int
provided
pin as a count source of timer mode.
1
page 70 of 204
Timer X
Timer Y
8-bit timer
with 8-bit
prescaler
Down
•f
1
•f
8
•f
RING
•Input from
CNTR
pin
1
provided
not provided
(1)
provided
not provided
not provided
provided
not provided
not provided
not provided
not provided
CNTR
0
1
0
CNTR
0
1
Timer Y int
_____
INT2 int
provided
Timer Z
Timer C
8-bit timer
16-bit
with 8-bit
free-run
prescaler
timer
Down
Up
•f
•f
1
1
•f
•f
2
8
•f
•f
8
32
•Timer Y
•f
RING-fast
underflow
provided
not provided
not provided
not provided
not provided
not provided
not provided
not provided
not provided
not provided
provided
not provided
provided
not provided
provided
not provided
not provided
provided
not provided
provided
_____
INT
TC
0
IN
CMP0
to CMP0
0
TZ
CMP1
to CMP1
OUT
0
Timer Z int
Timer C int
_____
_____
INT0 int
INT3 int
compare 0 int
compare 1 int
provided
provided
12. Timers
2
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c/11 seriesR8c/tiny series

Table of Contents