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

IC R8C MCU FLASH 8K 32LQFP

R5F21102DFP#U0

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

Specifications of R5F21102DFP#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
-40°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:
R5F21102DFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/10 Group
Rev.1.20 Jan 27, 2006
REJ09B0019-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
b7 b 6 b 5 b 4 b 3 b 2 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.
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 .
CNTR
/ 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
= 1 1
= 0 0
s w i t c h i n g
P o l a r i t y
T X M O D 1 t o T X M O D 0 b i t s = 0 1
2
2
2
2
page 56 of 180
T X M O D 1 t o T X M O D 0
B i t s y m b o l
T X M O D 0
T X M O D 1
TXS
TXOCNT
T X M O D 2
R0EDG
T X E D G
T X U N D
Symbol
TXMR
= 0 0
2
2
o r 0 1
= 1 1
= 1 0
2
2
2
R0EDG =1
R0EDG=0
Operation mode
select bit 0, 1
I N T 1 / C N T R
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
Operation mode
select bit 2
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
/ C N T R
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
Address
008B
Toggle flip-flop
CLR
16
b1 b0
0 0 : Timer mode or
0 1 : Pulse output mode
1 0 : Event counter mode
1 1 : Pulse width measurement mode
Reload register
PREX register
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 o p e r a t i o n m o d e .
Function varies with each operation mode
Function varies depending on operation mode.
Function varies with each operation mode
Counter
C K
pulse period measurement mode
After reset
00
16
Function
Data bus
Write to TX register
T X M O D 1 t o T X M O D 0 b i t s = 0 1
R e l o a d r e g i s t e r
TX register
C o u n t e r
2
12.1 Timer (Timer X)
RW
RW
RW
RW
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 R5F21102DFP#U0