Renesas M16C/29 Series Hardware Manual page 120

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group
Timer Ai mode register (i=0 to 4)
(When not using two-phase pulse signal processing)
b7
b6
b5
b4
b3
b2
0
Note 1: During event counter mode, the count source can be selected using the ONSF and TRGSR registers.
Note 2: Effective when the TAiTGH and TAiTGL bits of ONSF or TRGSR register are '00
Note 3: Count down when input on TAi
direction bit for TAi
Figure 12.1.2.1. TAiMR Register in Event Counter Mode (when not using two-phase pulse signal
processing)
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
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 (Note 2)
MR2
Up/down switching
cause select bit
MR3
Must be 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 100 of 402
Address
0396
to 039A
16
16
Bit name
b1 b0
0 1 : Event counter mode (Note 1)
0 : Pulse is not output
(TA
iOUT
1 : Pulse is output
(TAi
OUT
0 : Counts external signal's falling edge
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
pin functions as I/O port)
pin functions as pulse output pin)
pin (Note 3)
iOUT
' (TAi
pin input).
2
IN
12.1 Timer A
RW
R
W
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents