14. Timers - Renesas R8C/18 Series Hardware Manual

16-bit single-chip mcu
Table of Contents

Advertisement

R8C/18 Group, R8C/19 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
Apr 14, 2006
REJ09B0222-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 102 of 233
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

This manual is also suitable for:

R8c/1 seriesR8c seriesR8c/19 series

Table of Contents