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

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 221 of 573
18.6
Table 18.5
Note:
Count sources
Count operations
Wait time
One-shot pulse output time
Count start conditions
Count stop conditions
Interrupt request generation
timing
TRBO pin function
INT0 pin functions
Read from timer
Write to timer
Selectable functions
In programmable wait one-shot generation mode, a one-shot pulse is output from the TRBO pin by a program or an
external trigger input (input to the INT0 pin) (refer to Table 18.5 Programmable Wait One-Shot Generation Mode
Specifications). When a trigger is generated from that point, the timer outputs a pulse only once for a given length
of time equal to the setting value in the TRBSC register after waiting for a given length of time equal to the setting
value in the TRBPR register.
Figure 18.5 shows an Operating Example of Programmable Wait One-Shot Generation Mode.
1. The set value is reflected at the following one-shot pulse after writing to registers TRBSC and TRBPR.
Programmable Wait One-Shot Generation Mode
Item
Programmable Wait One-Shot Generation Mode Specifications
f1, f2, f8, timer RA underflow
• Decrement the timer RB primary setting value.
• When a count of the timer RB primary underflows, the timer reloads the contents of
• When a count of the timer RB secondary underflows, the timer reloads the contents
• When the count stops, the timer reloads the contents of the reload register before it
(n+1)(m+1)/fi
fi: Count source frequency
n: Value set in the TRBPRE register, m Value set in the TRBPR register
(n+1)(p+1)/fi
fi: Count source frequency
n: Value set in the TRBPRE register, p: Value set in the TRBSC register
• The TSTART bit in the TRBCR register is set to 1 (count starts) and the next trigger
• Set the TOSST bit in the TRBOCR register to 1 (one-shot starts).
• Input trigger to the INT0 pin
• When reloading completes after timer RB underflows during secondary period.
• When the TOSSP bit in the TRBOCR register is set to 1 (one-shot stops).
• When the TSTART bit in the TRBCR register is set to 0 (starts counting).
• When the TSTOP bit in the TRBCR register is set to 1 (forcibly stops counting).
In half a cycle of the count source after timer RB underflows during secondary period
(complete at the same time as waveform output from the TRBO pin) [timer RB
interrupt].
Pulse output
• When the INOSTG bit in the TRBIOC register is set to 0 (INT0 one-shot trigger
• When the INOSTG bit in the TRBIOC register is set to 1 (INT0 one-shot trigger
The count value can be read out by reading registers TRBPR and TRBPRE.
• When registers TRBPRE, TRBSC, and TRBPR are written while the count stops,
• When registers TRBPRE, TRBSC, and TRBPR are written to during count
• Output level select function
• One-shot trigger select function
timer RB secondary before the count continues.
of timer RB primary before the count completes and the TOSSTF bit is set to 0
(one-shot stops).
stops.
is generated.
disabled): programmable I/O port or INT0 interrupt input
enabled): external trigger (INT0 interrupt input)
values are written to both the reload register and counter.
operation, values are written to the reload registers only.
The output level of the one-shot pulse waveform is selected by the TOPL bit in the
TRBIOC register.
Refer to 18.5.3 One-Shot Trigger Selection.
Specification
(1)
18. Timer RB

Related parts for R5F21324CNSP#U0