14. Timers - Renesas R8C Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for R8C Series:
Table of Contents

Advertisement

R8C/1A Group, R8C/1B Group

14. Timers

The MCU has two 8-bit timers with 8-bit prescalers, and a 16-bit timer. The two 8-bit timers with 8-bit prescalers are
timer X and timer Z. These timers contain a reload register to store the default value of the counter. The 16-bit timer is
timer C, and has input capture and output compare functions. All the timers operate independently. The count source
for each timer is the operating clock that regulates the timing of timer operations such as counting and reloading.
Table 14.1 lists Functional Comparison of Timers.
Table 14.1
Functional Comparison of Timers
Item
Configuration
Count
Count sources
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
Rev.1.30
Dec 08, 2006
REJ09B0252-0130
Timer X
8-bit timer with 8-bit
prescaler (with
reload register)
Decrement
• f1
• f2
• f8
• fRING
Provided
Provided
Provided
Provided
Provided
Not provided
Not provided
Not provided
Not provided
Not provided
CNTR0
CNTR0
CNTR0
Timer X interrupt
INT1 interrupt
Provided
Page 108 of 315
Timer Z
8-bit timer with 8-bit
16-bit free-run timer
prescaler (with
(with input capture
reload register)
and output compare)
Decrement
Increment
• f1
• f1
• f2
• f8
• f8
• f32
• Timer X underflow
• fRING-fast
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
TCIN
INT0
TZOUT
CMP0_0 to CMP0_2
CMP1_0 to CMP1_2
Timer Z interrupt
Timer C interrupt
INT0 interrupt
INT3 interrupt
Compare 0 interrupt
Compare 1 interrupt
Provided
Provided
14. Timers
Timer C

Advertisement

Table of Contents
loading

Table of Contents