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

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.19 TYZMR Register
Figure 12.18 Timer Z Block Diagram
12.3 Timer Z
Timer Y underflow
Timer Z is an 8-bit timer with an 8-bit prescaler and has two reload registers-Timer Z Primary and Timer
Z Secondary. Figure 12.18 shows a block diagram of Timer Z. Figures 12.19 to 12.21 show the TYZMR,
PREZ, TZSC, TZPR, TYZOC, PUM, and TCSS registers.
Timer Z has the following four operation modes.
T i m e r Y , Z m o d e r e g i s t e r
b 7 b 6 b 5 b 4 b 3 b 2 b1 b 0
TZMOD1 to TZMOD0=01
• Timer mode: The timer counts an internal count source or Timer Y underflow.
• Programmable waveform generation mode: The timer outputs pulses of a given width successively.
• Programmable one-shot generation mode: The timer outputs one-shot pulse.
• Programmable wait one-shot generation mode: The timer outputs delayed one-shot pulse.
T Z
N O T E S :
Jan 27, 2006
1 . T h e I R b i t i n t h e I N T 2 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 1 E D G b i t i s r e w r i t t e n .
INT0
O U T
T Z C K 1 t o T Z C K 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 .
f
f
f
1
8
2
= 1 0
= 1 1
= 0 1
= 0 0
2
2
2
2
2
, 10
2
page 73 of 181
, 11
2
TZOCNT=1
TZOCNT=0
D i g i t a l
f i l t e r
B i t s y m b o l
T Y M O D 0
T Y W C
TYS
TZMOD0
T Z M O D 1
T Z W C
T Z S
R 1 E D G
S y m b o l
T Y Z M R
P 3 _ 1 b i t i n P 3 r e g i s t e r
I n p u t p o l a r i t y s e l e c t e d t o b e
o n e e d g e o r b o t h e d g e s
I N T 0 P L
R e l o a d r e g i s t e r
INT2/CNTR
switching bit
T i m e r Y o p e r a t i o n
m o d e b i t
T i m e r Y w r i t e
c o n t r o l b i t
T i m e r Y c o u n t
s t a r t f l a g
Timer Z operation
mode bit
T i m e r Z w r i t e
c o n t r o l b i t
T i m e r Z c o u n t
s t a r t f l a g
P R E Z r e g i s t e r
C o u n t e r
Bit name
INT0EN
T Z S
1
(1)
A d d r e s s
polarity
0 0 8 0
1 6
0 : T i m e r m o d e
1 : P r o g r a m m a b l e w a v e f o r m g e n e r a t i o n m o d e
0 : R i s i n g e d g e
1 : F a l l i n g e d g 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 t h e o p e r a t i o n
m o d e
0 : S t o p s c o u n t i n g
1 : S t a r t s c o u n t i n g
b 5 b 4
0 0 : T i m e r m o d e
0 1 : P r o g r a m m a b l e w a v e f o r m g e n e r a t i o n m o d e
1 0 : P r o g r a m m a b l e o n e - s h o t g e n e r a t i o n m o d e
1 1 : P r o g r a m m a b l e w a i t o n e - s h o t g e n e r a t i o n
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 t h e o p e r a t i o n
m o d e
0 : S t o p s c o u n t i n g
1 : S t a r t s c o u n t i n g
TZMOD1 to TZMOD0=10
Data bus
Reload register
INOSEG
P o l a r i t y
s e l e c t
m o d e
TZOPL=1
T Z O P L = 0
A f t e r r e s e t
0 0
T Z S C r e g i s t e r
1 6
Function
2
Q
,
Q
11
Toggle flip-flop
2
T Z O S
CLR
Reload register
T Z P R r e g i s t e r
Counter
CK
W r i t e t o T Y Z M R r e g i s t e r
T Z M O D 1 t o T Z M O D 0 b i t s = 0 1
12.3 Timer (Timer Z)
T i m e r Z i n t e r r u p t
R W
R W
R W
R W
R W
R W
R W
R W
R W
I N T 0 i n t e r r u p t
2
, 1 0
2
, 1 1
2

Related parts for R5F21122FP#U0