R5F21324CNSP#U0 Renesas Electronics America, R5F21324CNSP#U0 Datasheet - Page 235

MCU 1KB FLASH 16K ROM 20-LSSOP

R5F21324CNSP#U0

Manufacturer Part Number
R5F21324CNSP#U0
Description
MCU 1KB FLASH 16K ROM 20-LSSOP
Manufacturer
Renesas Electronics America
Series
R8C/3x/32Cr
Datasheet

Specifications of R5F21324CNSP#U0

Core Processor
R8C
Core Size
16/32-Bit
Speed
20MHz
Connectivity
I²C, LIN, SIO, SSU, UART/USART
Peripherals
POR, PWM, Voltage Detect, WDT
Number Of I /o
15
Program Memory Size
16KB (16K x 8)
Program Memory Type
FLASH
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
20-LSSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
R8C/32C Group
REJ09B0573-0100 Rev.1.00 Dec. 18, 2009
Page 206 of 573
18. Timer RB
Timer RB is an 8-bit timer with an 8-bit prescaler.
18.1
Figure 18.1
Table 18.1
TRBO
Timer RA underflow
The prescaler and timer each consist of a reload register and counter (refer to Tables 18.2 to 18.5 the
Specifications of Each Mode). Timer RB has timer RB primary and timer RB secondary as reload registers.
The count source for timer RB is the operating clock that regulates the timing of timer operations such as counting
and reloading.
Figure 18.1 shows a Timer RB Block Diagram. Table 18.1 lists Pin Configuration of Timer RB.
Timer RB has four operation modes listed as follows:
• Timer mode:
• Programmable waveform generation mode:
• Programmable one-shot generation mode:
• Programmable wait one-shot generation mode:
TRBO pin
INT0 pin
Pin Name
TSTART, TCSTF: Bits in TRBCR register
TOSSTF: Bit in TRBOCR register
TOPL, TOCNT, INOSTG, INOSEG: Bits in TRBIOC register
TMOD1 to TMOD0, TCK1 to TCK0, TCKCUT: Bits in TRBMR register
Bits TCK1 to TCK0
Overview
f1
f8
f2
Pin Configuration of Timer RB
Timer RB Block Diagram
= 00b
= 01b
= 10b
= 11b
P1_3
Bits TMOD1 to TMOD0
= 01b
TCKCUT bit
,
10b, 11b
Assigned Pin
Digital filter
TOCNT = 1
TOCNT = 0
P1_3 bit in P1 register
edge or both edges
TRBPRE register
selected to be one
register
Reload
Input polarity
INT0EN bit
TSTART bit
INT0PL bit
(prescaler)
Counter
Output
I/O
The timer counts an internal count source (peripheral
function clock or timer RA underflows).
The timer outputs pulses of a given width successively.
The timer outputs a one-shot pulse.
The timer outputs a delayed one-shot pulse.
TMOD1 to TMOD0 bits
= 10b or 11b
Data bus
TOPL = 1
TOPL = 0
register
Reload
INOSEG bit
Pulse output (Programmable waveform
generation mode, Programmable one-shot
generation mode, Programmable wait one-
shot generation mode)
TRBSC
register
Polarity
Counter (timer RB)
select
Q
Q
(Timer)
TOSSTF bit
register
Reload
Toggle
flip-flop
CLR
INOSTG bit
TRBPR
register
Function
CK
Write 1 to TSTOP bit
Bits TMOD1 to TMOD0
= 01b
Timer RB interrupt
INT0 interrupt
,
10b, 11b
18. Timer RB

Related parts for R5F21324CNSP#U0