![Renesas M16C/62P Group Hardware Manual Download Page 156](http://html1.mh-extra.com/html/renesas/m16c-62p-group/m16c-62p-group_hardware-manual_1440174156.webp)
M16C/62P Group (M16C/62P, M16C/62PT)
15. Timers
Rev.2.41
Jan 10, 2006
Page 141 of 390
REJ09B0185-0241
Figure 15.5
TABSR and UDF Registers
Count Start Flag
Address
After Reset
0380h
00h
Bit Symbol
Function
RW
Bit Name
TABSR
Symbol
b3 b2 b1 b0
b7 b6 b5 b4
RW
RW
RW
TA3S
TB1S
RW
TB0S
0 : Stops counting
1 : Starts counting
RW
RW
RW
RW
Timer A4 Count Start Flag
Timer B1 Count Start Flag
Timer A2 Count Start Flag
Timer A3 Count Start Flag
Timer B2 Count Start Flag
TA0S
TA1S
TA4S
TA2S
Timer B0 Count Start Flag
TB2S
Timer A0 Count Start Flag
Timer A1 Count Start Flag
Up/Down Flag
(1)
Address
After Reset
0384h
00h
Bit Symbol
Function
RW
NOTES :
1.
2.
3.
Use MOV instruction to w rite to this register.
Make sure the port direction bits for the TA2IN to TA4IN and TA2OUT to TA4OUT pins are set to “0” (input mode).
When not using the tw o-phase pulse signal processing function, set the bit corresponding to Timer A2 to Timer A4 to
“0”.
TA4P
WO
Timer A4 Tw o-Phase Pulse
Signal Processing Select Bit
RW
Timer A4 Up/Dow n Flag
RW
TA0UD
TA1UD
TA4UD
TA2UD
RW
RW
Timer A0 Up/Dow n Flag
Timer A1 Up/Dow n Flag
WO
TA3UD
TA3P
WO
TA2P
Timer A3 Tw o-Phase Pulse
Signal Processing Select Bit
Timer A2 Tw o-Phase Pulse
Signal Processing Select Bit
Timer A3 Up/Dow n Flag
RW
b0
b7 b6 b5 b4 b3 b2 b1
0 : Dow n count
1 : Up count
Enabled by setting the MR2 bit in the TAiMR
register to “0” (=sw itching source in UDF
register) during event counter mode.
0 : tw o-phase pulse signal processing
disabled
1 : tw o-phase pulse signal processing
enabled
(2, 3)
Bit Name
UDF
Symbol
Timer A2 Up/Dow n Flag
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655