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

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 214 of 573
18.4
Table 18.3
Notes:
Count sources
Count operations
Width and period of
output waveform
Count start condition
Count stop conditions
Interrupt request
generation timing
TRBO pin function
INT0 pin function
Read from timer
Write to timer
Selectable functions
In programmable waveform generation mode, the signal output from the TRBO pin is inverted each time the
counter underflows, while the values in registers TRBPR and TRBSC are counted alternately (refer to Table 18.3
Programmable Waveform Generation Mode Specifications). Counting starts by counting the setting value in the
TRBPR register. The TRBOCR register is unused in this mode.
Figure 18.3 shows an Operating Example of Timer RB in Programmable Waveform Generation Mode.
1. Even when counting the secondary period, the TRBPR register may be read.
2. The set values are reflected in the waveform output beginning with the following primary period after writing to
3. The value written to the TOCNT bit is enabled by the following.
the TRBPR register.
• When counting starts.
• When a timer RB interrupt request is generated.
The contents after the TOCNT bit is changed are reflected from the output of the following primary period.
Programmable Waveform Generation Mode
Item
Programmable Waveform Generation Mode Specifications
f1, f2, f8, timer RA underflow
• Decrement
• When the timer underflows, it reloads the contents of the primary reload and secondary
Primary period: (n+1)(m+1)/fi
Secondary period: (n+1)(p+1)/fi
Period: (n+1){(m+1)+(p+1)}/fi
fi: Count source frequency
n: Value set in TRBPRE register, m: Value set in TRBPR register
p: Value set in TRBSC register
1 (count start) is written to the TSTART bit in the TRBCR register.
• 0 (count stop) is written to the TSTART bit in the TRBCR register.
• 1 (count forcibly stop) is written to the TSTOP bit in the TRBCR register.
In half a cycle of the count source, after timer RB underflows during the secondary period
(at the same time as the TRBO output change) [timer RB interrupt]
Programmable output port or pulse output
Programmable I/O port or INT0 interrupt input
The count value can be read out by reading registers TRBPR and TRBPRE
• When registers TRBPRE, TRBSC, and TRBPR are written while the count is stopped,
• When registers TRBPRE, TRBSC, and TRBPR are written to during count operation,
• Output level select function
• TRBO pin output switch function
reload registers alternately before the count continues.
values are written to both the reload register and counter.
values are written to the reload registers only.
The output level during primary and secondary periods is selected by the TOPL bit in the
TRBIOC register.
Timer RB pulse output or P1_3 latch output is selected by the TOCNT bit in the TRBIOC
register.
(3)
Specification
(2)
(1)
.
18. Timer RB

Related parts for R5F21324CNSP#U0