R01UH0136EJ0210 Rev.2.10
Page 275 of 800
Jul 31, 2012
M16C/64A Group
17. Timer A
MR1 (Count polarity select bit) (b3)
This bit is enabled when bits TAiTGH to TAiTGL in the ONSF or TRGSR register are 00b (TAiIN pin
input).
b7
1
0
0
0
b6 b5 b4
b1
b2
b3
Symbol
TA0MR to TA4MR
Address
0336h to 033Ah
Reset Value
00h
b0
Function
Bit Symbol
Bit Name
RW
Event Counter Mode (When Not Using Two-Phase Pulse Signal Processing)
Timer Ai Mode Register (i = 0 to 4)
RW
MR1
Count polarity select bit
0 : Counts falling edge of an external signal
1 : Counts rising edge of an external signal
RW
TCK0
Count operation type
select bit
0 : Reload type
1 : Free-run type
RW
b1 b0
0 1 : Event counter mode
Operation mode select bit
RW
TMOD1
TMOD0
MR2
RW
Set to 0 in event counter mode
MR3
RW
Set to 0 in event counter mode
TCK1
RW
Can be 0 or 1 when not using two-phase pulse signal processing
Pulse output function
select bit
RW
MR0
0 : Pulse is not output
(TAiOUT pin functions as I/O port)
1 : Pulse is output
(TAiOUT pin functions as pulse output pin)
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...