R5F21133DFP RENESAS [Renesas Technology Corp], R5F21133DFP Datasheet - Page 114

no-image

R5F21133DFP

Manufacturer Part Number
R5F21133DFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY/R8C/Tiny SERIES
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F21133DFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/13 Group
Rev.1.20
REJ09B0111-0120
Figure 12.31 TC Register, TM0 Register, TM1 Register, TCC0 Register
Capture and compare 0 register
Compare 1 register
(b15)
T i m e r C c o n t r o l r e g i s t e r 0
b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0
Jan 27, 2006
b7
(b15)
Timer C register
b7
N O T E S :
(b15)
b7
1 . C h a n g e t h i s b i t w h e n T C C 0 0 b i t i s s e t t o “ 0 ” ( c o u n t s t o p ) .
2 . T h e I R b i t i n t h e I N T 3 I C 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 T C C 0 3 , T C C 0 4 , o r T C C 0 7 b i t i s r e w r i t t e n .
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 .
NOTES:
1. When setting a value in the TM0 register, set the TCC13 bit in the TCC1 register to “1”(compare 0 output selected)
2. When the TCC13 bit in the TCC1 register is set to “1”, the value is set to FFFF
When the TCC13 bit is set to “0”(capture selected), the value cannot be written.
(b8)
(b8)
page 103 of 205
b0
b0
(b8)
b0
b7
b7
b7
B i t s y m b o l
T C C 0 7
T C C 0 0
TCC01
T C C 0 2
T C C 0 3
T C C 0 4
(b6-b5)
Output compare
Output compare
"0000
Internal count source is counted
Count value can be read out by reading when TCC00 bit = 1 (start counting)
S y m b o l
T C C 0
Input capture
mode
Mode
Mode
Mode
mode
mode
16 "
can be read out by reading when TCC00 bit = 0 (stops counting)
(
1)
I N T 3 i n t e r r u p t a n d
c a p t u r e i n p u t s w i t c h i n g b i t
T i m e r C c o n t r o l s t a r t b i t
Timer C count source select
bit
I N T 3 i n t e r r u p t a n d c a p t u r e
p o l a r i t y s e l e c t b i t
R e s e r v e d b i t
b0
b0
b0
(1)
Symbol
Symbol
The value compared
with Timer C is stored
When active edge of measurement pulse is input,
the value of the TC register is stored
The value compared
with Timer C is stored
TM1
TM0
B i t n a m e
Symbol
A d d r e s s
TC
Function
0 0 9 A
Function
Function
(1 , 2 )
1 6
(1 , 2 )
009F
009D
Address
Address
0091
A f t e r r e s e t
16
16
Function
0 : I N T 3
1 : f
0 : C o u n t s t o p
1 : C o u n t s t a r t
b 2 b 1
0 0 : f
0 1 : f
1 0 : f
1 1 : f
b 4 b 3
0 0 : R i s i n g e d g e
0 1 : F a l l i n g e d g e
1 0 : B o t h e d g e s
1 1 : A v o i d t h i s s e t t i n g
-009E
0 0
M u s t s e t t o " 0 "
-009C
Address
16
1 6
R I N G 1 2 8
-0090
1
8
3 2
R I N G
16
16
0000
0000
Setting range
Setting range
- f a s t
16
F u n c t i o n
16
16
16
.
After reset
After reset
to FFFF
to FFFF
0000
FFFF
After reset
0000
16 2
16
16
16
16
RW
RO
RW
RW
RW
RW
RW
12.4 Timer (Timer C)
RO
R W
R W
R W
R W
R W
R W
R W
R W

Related parts for R5F21133DFP