Timer A
deeopmen
Preliminary Specifications REV.E
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M30220 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
70
Figure 1.13.7. Timer A-related registers (4)
TA1TGL
Symbol
TRGSR0
Address
0383
16
When reset
00
16
Timer A1 event/trigger
select bit
Input on TA1
IN
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 TA2
IN
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 TA3
IN
is selected (Note)
0 1 : TB2 overflow is selected
1 0 : TA2 overflow is selected
1 1 : TA4 overflow is selected
Input on TA4
IN
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
TA1TGH
TA2TGL
TA2TGH
TA3TGL
TA3TGH
TA4TGL
TA4TGH
b1 b0
b3 b2
b5 b4
b7 b6
Note: Set the corresponding port direction register to “0”.
AA
AA
AA
AA
AA
AA
AA
AA
AA
AA
TA6TGL
Symbol
TRGSR1
Address
0343
16
When reset
XXXX0000
2
Timer A6 event/trigger
select bit
Input on TA6
IN
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 TA7
IN
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”.
AA
AA
AA
AA
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
ONSF1
Address
0342
16
When reset
00XXX000
2
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 TA5
IN
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”
AA
AA
AA
AA
Nothing is assigned.
In an attempt to write to these bits, write “0”. The value, if read, turns out to be
indeterminate.