Renesas M16C FAMILY series Hardware Manual page 125

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C
Timer Ai Mode Register (i=0 to 4)
(When not using two-phase pulse signal processing)
b7
b6
b5
b4
b3
0
NOTES:
1. During event counter mode, the count source can be selected using the ONSF and TRGSR registers.
2. Effective when the TAiTGH and TAiTGL bits in the ONSF or TRGSR register are '00
3. Count down when input on TAi
direction bit for TAi
Figure 12.8 TAiMR Register in Event Counter Mode (when not using two-phase pulse signal
processing)
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
b2
b1
b0
Symbol
0 1
TA0MR to TA4MR
Bit Symbol
TMOD0
Operation mode select bit
TMOD1
MR0
Pulse output function
select bit
MR1
Count polarity
select bit
MR2
Up/down switching
cause select bit
MR3
Set to "0" in event counter mode
TCK0
Count operation type
select bit
TCK1
Can be "0" or "1" when not using two-phase pulse signal
processing
pin is low or count up when input on that pin is high. The port
OUT
pin must be set to "0" (input mode).
OUT
page 105
f o
3
8
5
Address
0396
to 039A
16
16
Bit Name
b1 b0
0 1 : Event counter mode
0 : Pulse is not output
(TA
iOUT
1 : Pulse is output
(TAi
pin functions as pulse output pin)
OUT
0 : Counts external signal's falling edge
(2)
1 : Counts external signal's rising edge
0 : UDF register
1 : Input signal to TA
0 : Reload type
1 : Free-run type
After Reset
00
16
Function
(1)
pin functions as I/O port)
(3)
pin
iOUT
' (TAi
pin input).
2
IN
12. Timer
RW
R
W
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents