English
Language : 

M16C30L Datasheet, PDF (80/166 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Timer A
Mitsubishi microcomputers
M16C / 30L Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
One-shot start flag
b7 b6 b5 b4 b3 b2 b1 b0
00
Symbol
ONSF
Address
038216
When reset
00X000002
Bit symbol
Bit name
TA0OS Timer A0 one-shot start flag
TA1OS Timer A1 one-shot start flag
TA2OS Timer A2 one-shot start flag
Function
1 : Timer start
When read, the value is “0”
RW
Reserved bit
Must always be set to “0”
Nothing is assigned.
In an attempt to write to this bit, write “0”. The value, if read, turns out to be indeterminate.
TA0TGL
TA0TGH
Timer A0 event/trigger
select bit
b7 b6
0 0 : Input on TA0IN is selected (Note)
0 1 : TB2 overflow is selected
1 0 : Must not be set
1 1 : TA1 overflow is selected
Note: Set the corresponding port direction register to “0”.
Trigger select register
b7 b6 b5 b4 b3 b2 b1 b0
000 0
Symbol
TRGSR
Address
038316
When reset
0016
Bit symbol
Bit name
TA1TGL Timer A1 event/trigger
select bit
TA1TGH
TA2TGL
TA2TGH
Timer A2 event/trigger
select bit
Reserved bit
Function
b1 b0
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
b3 b2
0 0 : Input on TA2IN is selected (Note)
0 1 : TB2 overflow is selected
1 0 : TA1 overflow is selected
1 1 : Must not be set
Must always be set to “0”
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
0XXXXXXX2
Bit symbol
Bit name
Function
Nothing is assigned.
In an attempt to write to these bits, write “0”. The value, if read, turns out to be
indeterminate.
CPSR Clock prescaler reset flag
0 : No effect
1 : Prescaler is reset
(When read, the value is “0”)
RW
Figure 1.14.6. Timer A-related registers (3)
79