English
Language : 

M16C30P_07 Datasheet, PDF (112/317 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/30 SERIES
M16C/30P Group
14. Timers
Count Start Flag
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
After Reset
TABSR
0380h
000XX000b
Bit Symbol
Bit Name
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
—
Nothing is assigned. When w rite, set to “0”.
(b4-b3) When read, their contents are indeterminate.
—
TB0S Timer B0 Count Start Flag
0 : Stops counting
RW
TB1S Timer B1 Count Start Flag
1 : Starts counting
RW
TB2S Timer B2 Count Start Flag
RW
Up/Down Flag (1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
UDF
0384h
Bit Symbol
Bit Name
Timer A0 Up/Dow n Flag
TA0UD
Timer A1 Up/Dow n Flag
TA1UD
Timer A2 Up/Dow n Flag
TA2UD
After Reset
XX0XX000b
Function
RW
0 : Dow n count
1 : Up count
RW
Enabled by setting the MR2 bit in the TAiMR
register to “0” (= sw itching source in UDF
RW
register) during event counter mode.
RW
—
Nothing is assigned. When w rite, set to “0”.
(b4-b3) When read, their contents are indeterminate.
—
Timer A2 Tw o-Phase Pulse
0 : Tw o-phase pulse signal processing
Signal Processing Select Bit
disabled
TA2P
1 : Tw o-phase pulse signal processing
WO
enabled (2, 3)
—
Nothing is assigned. When w rite, set to “0”.
(b7-b6) When read, their contents are indeterminate.
—
NOTES :
1. Use MOV instruction to w rite to this register.
2. Make sure the port direction bits for the TA2IN and TA2OUT 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 “0”.
Figure 14.5 TABSR and UDF Registers
Rev.1.22 Mar 29, 2007 Page 96 of 291
REJ09B0179-0122