Timer X - Renesas M16C Series Hardware Manual

16-bit microcopmuter
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

R8C/11 Group
Prescaler X Register
b7
Timer X Register
b7
T i m e r c o u n t s o u r c e s e t t i n g r e g i s t e r
b 7 b 6 b5 b 4 b 3 b 2 b 1 b 0
0
0
N O T E S :
1 . A v o i d s w i t c h i n g a c o u n t s o u r c e , w h i l e a c o u n t e r i s i n p r o g r e s s . T i m e r c o u n t e r m u s t b e s t o p p e d b e f o r e s w i t c h i n g a c o u n t
s o u r c e .
Figure 12.3 PREX Register, TX Register, and TCSS Register
Rev.1.20
Jan 27, 2006
REJ09B0062-0120
b0
to FF Twmf 0 6211h5.070. 1164
b0
Underflow of Prescaler X is counted
Symbol
TCSS
B i t s y m b o l
T i m e r X c o u n t s o u r c e
T X C K 0
s e l e c t b i t
T X C K 1
T Y C K 0
T i m e r Y c o u n t s o u r c e
s e l e c t b i t
T Y C K 1
T i m e r Z c o u n t s o u r c e
TZCK0
s e l e c t b i t
T Z C K 1
R e s e r v e d b i t
( b 7 - b 6 )
page 72 of 204
Symbol
Address
PREX
008C
Function
Internal count source is counted
Internal count source is counted
Externally input pulses are counted
Pulse width of externally input
pulses is measured
(Internal count source is counted)
Pulse period of externally input
pulses is measured
(Internal count source is counted)
Symbol
Address
TX
008D
Function
Address
After reset
008E
00
16
16
B i t n a m e
b 1 b 0
0 0 : f
1
(1 )
0 1 : f
8
1 0 : f
3 2
1 1 : f
2
b 3 b 2
0 0 : f
1
(1 )
0 1 : f
8
1 0 : f
R I N G
1 1 : S e l e c t s i n p u t f r o m C N T R
b 5 b 4
0 0 : f
1
(1 )
0 1 : f
8
1 0 : S e l e c t s T i m e r Y u n d e r f l o w
1 1 : f
2
Must be set to "0"
After reset
FF
16
16
Setting range
00
to FF
16
16
00
to FF
16
16
00
to FF
16
16
00
to FF
16
16
00
160000
After reset
FF
16
16
00
to FF
16
16
Function
p i n
1
RW
R W
R W
R W
R W
R W
R W
R W
R W

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c/11 seriesR8c/tiny series

Table of Contents