R5F21122FP#U0 Renesas Electronics America, R5F21122FP#U0 Datasheet - Page 68

IC R8C MCU FLASH 8K 32LQFP

R5F21122FP#U0

Manufacturer Part Number
R5F21122FP#U0
Description
IC R8C MCU FLASH 8K 32LQFP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/R8C/Tiny/12r
Datasheets

Specifications of R5F21122FP#U0

Core Processor
R8C
Core Size
16-Bit
Speed
16MHz
Connectivity
SIO, UART/USART
Peripherals
LED, WDT
Number Of I /o
22
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 8x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
32-LQFP
For Use With
R0K521134S000BE - KIT EVAL STARTER FOR R8C/13R0E521134EPB00 - KIT EMULATOR PROBE FOR PC7501R0E521134CPE00 - EMULATOR COMPACT R8C/13
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
R5F21122FP#U0R5F21122FP#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/12 Group
Rev.1.20
REJ09B0110-0120
Figure 12.2 TXMR Register
Figure 12.1 Timer X Block Diagram
12.1 Timer X
The Timer X is an 8-bit timer with an 8-bit prescaler. Figure 12.1 shows the block diagram of Timer X.
Figures 12.2 and 12.3 show the Timer X-related registers.
The Timer X has five operation modes listed as follows:
I N T
T i m e r X m o d e r e g i s t e r
b 7 b 6 b 5 b 4 b 3 b2 b 1 b 0
N O T E S :
1
• Timer mode:
• Pulse output mode:
• Event counter mode:
• Pulse width measurement mode: The timer measures an external pulse's pulse width.
• Pulse period measurement mode:The timer measures an external pulse's period.
CNTR
1 . T h e I R b i t i n t h e I N T 1 I C r e g i s t e r m a y b e s e t t o “ 1 ” ( i n t e r r u p t r e q u e s t e d ) w h e n t h e R 0 E D G b i t i s r e w r i t t e n .
/ C N T R
Jan 27, 2006
R e f e r t o t h e p a r a g r a p h 1 9 . 2 . 5 “ C h a n g i n g I n t e r r u p t F a c t o r ” i n t h e U s a g e N o t e s R e f e r e n c e B o o k .
T X C K 1 t o T X C K 0
0
0
f
f
f
f
1
8
3 2
2
TXOCNT bit
= 0 1
= 1 0
=11
= 0 0
switching
Polarity
TXMOD1 to TXMOD0 bits=01
2
2
2
2
page 56 of 181
T X M O D 1 t o T X M O D 0
Bit symbol
T X M O D 0
T X M O D 1
R 0 E D G
TXS
T X O C N T
T X M O D 2
T X E D G
T X U N D
S y m b o l
T X M R
= 0 0
2
2
o r 0 1
= 1 1
= 1 0
2
2
2
R 0 E D G = 1
R0EDG=0
Operation mode
select bit 2
Operation mode
select bit 0, 1
INT1/CNTR
polarity switching
bit
Timer X count
start flag
P3
select bit
Active edge
reception flag
T i m e r X u n d e r
f l o w f l a g
(1)
0
/CNTR
The timer counts an internal count source.
The timer counts an internal count source and outputs the pulses
whose polarity is inverted at the timer the timer underflows.
The timer counts external pulses.
B i t n a m e
T X S b i t
0
Q
Q
0
A d d r e s s
0 0 8 B
T o g g l e f l i p - f l o p
CLR
1 6
b1 b0
PREX register
0 0 : Timer mode or
0 1 : Pulse output mode
1 0 : Event counter mode
1 1 : Pulse width measurement mode
R e l o a d r e g i s t e r
0 : Stops counting
1 : Starts counting
Function varies with each operation mode
0 : Except in pulse period measurement mode
1 : Pulse period measurement mode
F u n c t i o n v a r i e s d e p e n d i n g o n o p e r a t i o n m o d e
F u n c t i o n v a r i e s d e p e n d i n g o n o p e r a t i o n m o d e
F u n c t i o n v a r i e s w i t h e a c h o p e r a t i o n m o d e
C o u n t e r
C K
pulse period measurement mode
A f t e r r e s e t
0 0
1 6
Function
Data bus
Write to TX register
TXMOD1 to TXMOD0 bits=01
R e l o a d r e g i s t e r
TX register
Counter
2
12.1 Timer (Timer X)
R W
R W
R W
R W
RW
RW
RW
RW
RW
I N T 1 i n t e r r u p t
T i m e r X i n t e r r u p t

Related parts for R5F21122FP#U0