R5F21162SP#U0 Renesas Electronics America, R5F21162SP#U0 Datasheet - Page 99

IC R8C MCU FLASH 8K 20SSOP

R5F21162SP#U0

Manufacturer Part Number
R5F21162SP#U0
Description
IC R8C MCU FLASH 8K 20SSOP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/R8C/Tiny/16r
Datasheets

Specifications of R5F21162SP#U0

Core Processor
R8C
Core Size
16-Bit
Speed
20MHz
Connectivity
I²C, SIO, UART/USART
Peripherals
LED, POR, Voltage Detect, WDT
Number Of I /o
13
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
20-SSOP
For Use With
R0K521134S000BE - KIT EVAL STARTER FOR R8C/13
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
R8C/16 Group, R8C/17 Group
Rev.2.10
REJ09B0169-0210
13.1
Figure 13.1
INT11/CNTR01
INT10/CNTR00
Timer X is an 8-bit timer with an 8-bit prescaler.
The prescaler and timer consist of the reload register and counter. The reload register and counter are
allocated at the same address. When accessing the PREX and TX registers, the reload register and
counter can be accessed (Refer to Tables 13.2 to 13.6 the Specification of Each Modes.)
Figure 13.1 shows the Block Diagram of Timer X. Figures 13.2 and 13.3 show the registers associated
with Timer X.
Timer X contains five operating modes listed as follows:
Timer mode:
Pulse output mode:
Event counter mode:
Pulse width measurement mode:
Pulse period measurement mode: The timer measures the pulse period of an external pulse.
Timer X
Jan 19, 2006
CNTR0
CNTRSEL=1
CNTRSEL=0
fRING
Block Diagram of Timer X
TXCK1 to TXCK0
f1
f8
f2
TXOCNT Bit
=00b
=01b
=10b
=11b
TXMOD1 to TXMOD0
bits=01b
Polarity
Switch
Page 84 of 254
TXMOD1 to TXMOD0
=00b or 01b
=11b
=10b
R0EDG=1
R0EDG=0
The timer counts an internal count source.
The timer counts an internal count source and outputs the
pulses which inverts the polarity by underflow of the timer.
The timer counts external pulses.
The timer measures the pulse width of an external pulse.
TXS Bit
Q
Q
Toggle Flip-Flop
TXMOD0 to TXMOD1, R0EDG, TXS, TXOCNT : Bits in TXMR register
TXCK0 to TXCK1 : Bits in TCSS register
CNTRSEL : Bit in UCON register
CLR
Reload Register
PREX Register
Counter
CK
Data Bus
Write to TX Register
TXMOD1 to TXMOD0 bits=01b
Reload Register
TX Register
Counter
Timer X Interrupt
INT1 Interrupt
13. Timers

Related parts for R5F21162SP#U0