TIMER A
7.4 Event counter mode
b7 b6 b5 b4 b3 b2 b1 b0
Up-down register 0 (Address 4416
)
0
0
Bit
0
Bit name
Function
At reset R/W
0 : Countdown
1 : Countup
Timer A0 up-down bit
0
0
0
0
0
RW
RW
RW
RW
RW
Timer A1 up-down bit
Timer A2 up-down bit
Fix this bit to “0.”
1
This function is valid when the contents of the up-
down register is selected as the up-down switching
factor.
2
3
4
Timer A4 up-down bit
0 : Countdown
1 : Countup
This function is valid when the contents of the up-
down register is selected as the up-down switching
factor.
0 : Two-phase pulse signal processing function disabled
1 : Two-phase pulse signal processing function enabled
5
Timer A2 two-phase pulse signal
processing select bit
0
WO
(Note)
When not using the two-phase pulse signal processing
function, clear the bit to “0.”
The value is “0” at reading.
0
0
WO
(Note)
Fix this bit to “0.”
6
7
Timer A4 two-phase pulse signal
processing select bit
0 : Two-phase pulse signal processing function disabled
1 : Two-phase pulse signal processing function enabled
WO
(Note)
When not using the two-phase pulse signal processing
function, clear the bit to “0.”
The value is “0” at reading.
Note: Use the MOVM (MOVMB) or STA(STAB, STAD) instruction for writing to bits 5 to 7.
b7 b6 b5 b4 b3 b2 b1 b0
Up-down register 1 (Address C416
)
0 0 0
0
0 0
Bit
3 to 0
4
Bit name
Function
At reset R/W
Fix these bits to “0000.”
0
0
RW
RW
0 : Countdown
1 : Countup
Timer A9 up-down bit
This function is valid when the contents of the up-
down register is selected as the up-down switching
factor.
6, 5
7
Fix these bits to “00.”
0
0
WO
(Note)
WO
(Note)
Timer A9 two-phase pulse signal
processing select bit
0 : Two-phase pulse signal processing function disabled
1 : Two-phase pulse signal processing function enabled
When not using the two-phase pulse signal processing
function, clear the bit to “0.”
The value is “0” at reading.
Note: Use the MOVM(MOVMB) or STA(STAB, STAD) instruction for writing to bits 5 to 7.
Fig. 7.4.5 Structures of up-down registers 0 and 1
7906 Group User’s Manual Rev.2.0
7-25