R5F21346CNFP#U0 Renesas Electronics America, R5F21346CNFP#U0 Datasheet - Page 267

MCU 1KB FLASH 32K ROM 48-LQFP

R5F21346CNFP#U0

Manufacturer Part Number
R5F21346CNFP#U0
Description
MCU 1KB FLASH 32K ROM 48-LQFP
Manufacturer
Renesas Electronics America
Series
R8C/3x/34Cr
Datasheet

Specifications of R5F21346CNFP#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
43
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
2.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 12x10b; D/A 2x8b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
48-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
R5F21346CNFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
135
Company:
Part Number:
R5F21346CNFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/34C Group
REJ09B0586-0100 Rev.1.00 Jan 13, 2010
Page 234 of 723
18. Timer RB
Timer RB is an 8-bit timer with an 8-bit prescaler.
18.1
Figure 18.1
Table 18.1
TRBO
TRBO pin
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:
Timer RA underflow
Pin Name
INT0 pin
Note:
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
1.
Bits TCK1 to TCK0
Overview
The TRBOSEL0 bit in the TRBRCSR register is used to select which pin is assigned.
(1)
f1
f2
f8
Pin Configuration of Timer RB
Timer RB Block Diagram
= 00b
= 01b
= 10b
= 11b
P1_3 or P3_1
Bits TMOD1 to TMOD0
= 01b
TCKCUT bit
,
Assigned Pin
10b, 11b
Digital filter
TOCNT = 1
TOCNT = 0
P1_3 bit in P1 register or
P3_1 bit in P3 register
edge or both edges
TRBPRE register
selected to be one
register
Reload
Input polarity
INT0EN bit
INT0PL bit
TSTART 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
Pulse output (Programmable waveform
generation mode, Programmable one-shot
generation mode, Programmable wait one-
shot generation mode)
INOSEG bit
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 R5F21346CNFP#U0