English
Language : 

M30222 Datasheet, PDF (72/237 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
deUvnedloepr ment
MITSUBISHI MICROCOMPUTERS
Specifications in this manual are tentative and subject to change
M30222 Group
Rev. G
Timer A
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
One-shot start flag
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
ONSF
Address
038216
When reset
00X00000 2
Bit symbol
Bit name
Function
TA0OS
TA1OS
Timer A0 one-shot start flag 1 : Timer start
Timer A1 one-shot start flag
When read, the value is “0”
TA2OS Timer A2 one-shot start flag
TA3OS Timer A3 one-shot start flag
TA4OS Timer A4 one-shot start flag
Nothing is assigned.
Write "0" when writing to this bit. When read, the value is indeterminate.
TA0TGL
TA0TGH
Timer A0 event/trigger
select bit
b7 b6
0 0 : Input on TA0 IN is selected (Note)
0 1 : TB2 overflow is selected
1 0 : TA4 overflow is selected
1 1 : TA1 overflow is selected
Note: Set the corresponding port direction register to “0”.
RW
Trigger select register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
TRGSR
Address
038316
When reset
0016
Bit symbol
Bit name
TA1TGL
TA1TGH
Timer A1 event/trigger
select bit
TA2TGL
TA2TGH
Timer A2 event/trigger
select bit
TA3TGL
TA3TGH
Timer A3 event/trigger
select bit
TA4TGL
TA4TGH
Timer A4 event/trigger
select bit
Function
b1 b0
0 0 : 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
b3 b2
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
b5 b4
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
b7 b6
0 0 : 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
RW
Note: Set the corresponding port direction register to “0”.
Clock prescaler reset flag
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
CPSRF
Address
038116
When reset
0XXXXXXX 2
Bit symbol
Bit name
Function
RW
Nothing is assigned.
Write "0" when writing to these bits. When read, the value is indeterminate.
CPSR Clock prescaler reset flag
0 : No effect
1 : Prescaler is reset
(When read, the value is “0”)
Fig. 1.50. Timer A-related registers (3)
1-73