English
Language : 

M16C62P_06 Datasheet, PDF (156/421 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
M16C/62P Group (M16C/62P, M16C/62PT)
15. Timers
Count Start Flag
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
After Reset
TABSR
Bit Symbol
0380h
Bit Name
00h
Function
RW
TA0S Timer A0 Count Start Flag
0 : Stops counting
RW
TA1S Timer A1 Count Start Flag
1 : Starts counting
RW
TA2S Timer A2 Count Start Flag
RW
TA3S Timer A3 Count Start Flag
RW
TA4S Timer A4 Count Start Flag
RW
TB0S Timer B0 Count Start Flag
RW
TB1S Timer B1 Count Start Flag
RW
TB2S Timer B2 Count Start Flag
RW
Up/Down Flag (1)
b7 b6 b5 b4 b3 b2 b1 b0
NOTES :
Symbol
Address
UDF
0384h
Bit Symbol
Bit Name
TA0UD Timer A0 Up/Dow n Flag
TA1UD Timer A1 Up/Dow n Flag
TA2UD Timer A2 Up/Dow n Flag
TA3UD Timer A3 Up/Dow n Flag
TA4UD Timer A4 Up/Dow n Flag
After Reset
00h
Function
RW
0 : Dow n count
RW
1 : Up count
RW
Enabled by setting the MR2 bit in the TAiMR
RW
register to “0” (=sw itching source in UDF
RW
register) during event counter mode.
RW
Timer A2 Tw o-Phase Pulse
0 : tw o-phase pulse signal processing
TA2P Signal Processing Select Bit
disabled
WO
Timer A3 Tw o-Phase Pulse
1 : tw o-phase pulse signal processing
TA3P Signal Processing Select Bit
enabled (2,3)
WO
Timer A4 Tw o-Phase Pulse
TA4P Signal Processing Select Bit
WO
1. Use MOV instruction to w rite to this register.
2. Make sure the port direction bits for the TA2IN to TA4IN and TA2OUT to TA4OUT pins are set to “0” (input mode).
3. When not using the tw o-phase pulse signal processing function, set the bit corresponding to Timer A2 to Timer A4 to
“0”.
Figure 15.5 TABSR and UDF Registers
Rev.2.41 Jan 10, 2006 Page 141 of 390
REJ09B0185-0241