
Timer A
Mitsubishi microcomputers
M30220 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
70
Figure 1.13.7. Timer A-related registers (4)
TA1TGL
Symbol
Address
When reset
TRGSR0
038316
0016
Timer A1 event/trigger
select bit
0 0 : Input on TA1IN is selected (Note)
0 1 : TB2 overflow is selected
1 0 : TA0 overflow is selected
1 1 : TA2 overflow is selected
Trigger select register 0
Bit name
Function
Bit symbol
b7
b6
b5
b4
b3
b2
b1
b0
0 0 : Input on TA2IN is selected (Note)
0 1 : TB2 overflow is selected
1 0 : TA1 overflow is selected
1 1 : TA3 overflow is selected
0 0 : Input on TA3IN is selected (Note)
0 1 : TB2 overflow is selected
1 0 : TA2 overflow is selected
1 1 : TA4 overflow is selected
0 0 : Input on TA4IN is selected (Note)
0 1 : TB2 overflow is selected
1 0 : TA3 overflow is selected
1 1 : TA0 overflow is selected
Timer A2 event/trigger
select bit
Timer A3 event/trigger
select bit
Timer A4 event/trigger
select bit
W
R
TA1TGH
TA2TGL
TA2TGH
TA3TGL
TA3TGH
TA4TGL
TA4TGH
b1 b0
b3 b2
b5 b4
b7 b6
Note: Set the corresponding port direction register to “0”.
TA6TGL
Symbol
Address
When reset
TRGSR1
034316
XXXX00002
Timer A6 event/trigger
select bit
0 0 : Input on TA6IN is selected (Note)
0 1 : TB5 overflow is selected
1 0 : TA5 overflow is selected
1 1 : TA7 overflow is selected
Trigger select register 1
Bit name
Function
Bit symbol
b7
b6
b5
b4
b3
b2
b1
b0
0 0 : Input on TA7IN is selected (Note)
0 1 : TB5 overflow is selected
1 0 : TA5 overflow is selected
1 1 : TA6 overflow is selected
Timer A7 event/trigger
select bit
W
R
TA6TGH
TA7TGL
TA7TGH
b1 b0
b3 b2
Note: Set the corresponding port direction register to “0”.
Nothing is assigned.
In an attempt to write to these bits, write “0”. The value, if read, turns out to be
indeterminate.
TA6OS
TA7OS
TA5OS
One-shot start flag 1
Symbol
Address
When reset
ONSF1
034216
00XXX0002
Timer A5 one-shot start flag
Timer A6 one-shot start flag
Timer A7 one-shot start flag
Bit name
Function
Bit symbol
b7
b6
b5
b4
b3
b2
b1
b0
TA5TGL
TA5TGH
0 0 : Input on TA5IN is selected (Note)
0 1 : TB5 overflow is selected
1 0 : TA6 overflow is selected
1 1 : TA7 overflow is selected
Timer A5 event/trigger
select bit
b7 b6
Note: Set the corresponding port direction register to “0”.
W
R
1 : Timer start
When read, the value is “0”
Nothing is assigned.
In an attempt to write to these bits, write “0”. The value, if read, turns out to be
indeterminate.