English
Language : 

M16C62_M Datasheet, PDF (327/615 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Timer A
Mitsubishi microcomputers
M16C / 62A Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Up/down flag (Note 1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
UDF
Address
038416
When reset
0016
Bit symbol
Bit name
Function
RW
TA0UD
TA1UD
TA2UD
TA3UD
TA4UD
Timer A0 up/down flag
Timer A1 up/down flag
Timer A2 up/down flag
Timer A3 up/down flag
Timer A4 up/down flag
0 : Down count
1 : Up count
This specification becomes valid
when the up/down flag content is
selected for up/down switching
cause
TA2P
TA3P
TA4P
Timer A2 two-phase pulse 0 : two-phase pulse signal
signal processing select bit processing disabled
1 : two-phase pulse signal
Timer A3 two-phase pulse
processing enabled (Note 2)
signal processing select bit
When not using the two-phase
Timer A4 two-phase pulse pulse signal processing function,
signal processing select bit set the select bit to “0”
Note 1: Use MOV instruction to write to this register.
Note 2: Set the TAiIN and TAiOUT pins correspondent port direction registers to “0”.
One-shot start flag
b7 b6 b5 b4 b3 b2 b1 b0
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
Function
1 : Timer start
When read, the value is “0”
RW
TA2OS Timer A2 one-shot start flag
TA3OS Timer A3 one-shot start flag
TA4OS Timer A4 one-shot start flag
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 : TA4 overflow is selected
1 1 : TA1 overflow is selected
Note: Set the corresponding port direction register to “0”.
Figure 2.2.4. Timer A-related registers (3)
2-10