R5F21134DFP#U0 Renesas Electronics America, R5F21134DFP#U0 Datasheet - Page 82
![IC R8C MCU FLASH 32LQFP](/photos/12/18/121815/r5f21134dfp_u0_sml.jpg)
R5F21134DFP#U0
Manufacturer Part Number
R5F21134DFP#U0
Description
IC R8C MCU FLASH 32LQFP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/R8C/Tiny/13r
Datasheets
1.R5F211A2SPU0.pdf
(300 pages)
2.R5F21132FPU0.pdf
(33 pages)
3.R5F21132FPU0.pdf
(226 pages)
4.R5F21134DFPU0.pdf
(224 pages)
Specifications of R5F21134DFP#U0
Core Size
16-Bit
Program Memory Size
16KB (16K x 8)
Oscillator Type
Internal
Core Processor
R8C
Speed
20MHz
Connectivity
SIO, UART/USART
Peripherals
LED, POR, Voltage Detect, WDT
Number Of I /o
22
Program Memory Type
FLASH
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 12x10b
Operating Temperature
-40°C ~ 85°C
Package / Case
32-LQFP
No. Of I/o's
22
Eeprom Memory Size
4KB
Ram Memory Size
1024Byte
Cpu Speed
20MHz
No. Of Timers
16
Digital Ic Case
RoHS Compliant
Controller Family/series
R8C/13
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
R0K521134S000BE - KIT EVAL STARTER FOR R8C/13R0E521134EPB00 - KIT EMULATOR PROBE FOR PC7501R0E521134CPE00 - EMULATOR COMPACT R8C/13
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F21134DFP#U0R5F21134DFP
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/13 Group
Rev.1.20
REJ09B0111-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:
Timer X mode register
b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0
I N T
• 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.
Jan 27, 2006
N O T E S :
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 .
1
C N T R
/ C N T R
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
32
2
TXOCNT bit
= 0 1
= 1 0
=11
= 0 0
switching
Polarity
TXMOD1 to TXMOD0 bits=01
2
2
2
2
page 71 of 205
T X M O D 1 t o T X M O D 0
B i t s y m b o l
TXMOD0
T X M O D 1
T X S
T X O C N T
T X M O D 2
R 0 E D G
T X E D G
T X U N D
Symbol
TXMR
= 0 0
2
2
o r 0 1
=11
=10
2
2
2
O p e r a t i o n m o d e
s e l e c t b i t 2
O p e r a t i o n m o d e
s e l e c t b i t 0 , 1
I N T 1 / C N T R 0
p o l a r i t y s w i t c h i n g
b i t
T i m e r X c o u n t
s t a r t f l a g
P 3
s e l e c t b i t
A c t i v e e d g e
r e c e p t i o n f l a g
T i m e r X u n d e r
f l o w f l a g
R0EDG =1
R0EDG=0
(1 )
0
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.
/ C N T R
Bit name
TXS bit
0
Q
Q
Address
008B
Toggle flip-flop
16
CLR
b1 b0
0 0 : Timer mode or
0 1 : Pulse output mode
1 0 : Event counter mode
1 1 : Pulse width measurement mode
0 : Stops counting
1 : Starts counting
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 e a c h
o p e r a t i o n m o d e .
Function varies with each operation mode
Function varies depending on each
operation mode.
Function varies with each operation mode
R e l o a d r e g i s t e r
PREX register
Counter
pulse period measurement mode
C K
After reset
00
16
F u n c t i o n
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
T X r e g i s t e r
C o u n t e r
2
12.1 Timer (Timer X)
R W
R W
RW
RW
R W
R W
R W
R W
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