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

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
Table 12.3 Pulse Output Mode Specifications
NOTES:
Figure 12.5 TXMR Register in Pulse Output Mode
1. The level of the output pulse becomes the level when the pulse output starts when the TX register is written to.
Count source
Count operation
Divide ratio
Count start condition
Count stop condition
Interrupt request
generation timing
INT1/CNTR
CNTR
Read from timer
Write to timer
Select function
Timer X mode register
b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0
0
12.1.2 Pulse Output Mode
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 .
In this mode, the timer counts an internally generated count source, and outputs from the CNTR0 pin
a pulse whose polarity is inverted each time the timer underflows (See “Table 12.3 Pulse Output mode
Specifications”). Figure 12.5 shows TXMR register in pulse output mode.
0
0
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 .
pin function
Item
0
0
pin function
page 59 of 180
0 1
f
• Down-count
• When the timer underflows, the contents in the reload register is reloaded and the count
1/(n+1)(m+1)
Write “1” (count start) to TXS bit in TXMR register
Write “0” (count stop) to TXS bit in TXMR register
• When Timer X underflows [Timer X interruption]
Pulse output
Programmable I/O port or inverted output of CNTR
Count value can be read by reading TX register.
Same applies to PREX register.
Value written to TX register is written to both reload register and counter.
Same applies to PREX register.
• INT1/CNTR
• Inverted pulse output function
B i t s y m b o l
1
T X M O D 0
T X M O D 1
T X O C N T
T X M O D 2
Polarity level at starting of pulse output can be selected with R0EDG bit
(selected by the TXOCNT bit)
T X E D G
T X U N D
is continued
The inverted pulse of CNTR0 output polarity can be output from the CNTR0 pin
, f
R 0 E D G
_____
TXS
2
S y m b o l
T X M R
, f
8
, f
32
I N T 1 / C N T R
s w i t c h i n g b i t
0
O p e r a t i o n m o d e
s e l e c t b i t 0 , 1
Timer X count
start flag
P 3
s e l e c t b i t
S e t t o " 0 " i n p u l s e o u t p u t m o d e
S e t t o " 0 " i n p u l s e o u t p u t m o d e
S e t t o " 0 " i n p u l s e o u t p u t m o d e
polarity switching function
0
B i t n a m e
/ C N T R
n: set value of PREX register, m: set value of TX register
0
0
(1 )
A d d r e s s
p o l a r i t y
0 0 8 B
1 6
b 1 b 0
0 1 : P u l s e o u t p u t m o d e
0 : C N T R
1 : C N T R
0 : Stops counting
1 : Starts counting
0 : P o r t P 3
1 : C N T R
Specification
A f t e r r e s e t
0
0
0
o u t p u t s t a r t s a t " H "
o u t p u t s t a r t s a t " L "
0
o u t p u t
0 0
1 6
F u n c t i o n
0
12.1 Timer (Timer X)
___________
(1)
R W
R W
R W
R W
R W
RW
R W
R W
R W

Related parts for R5F21102DFP#U0