12. Timer 0/1/2/3/4/5
A96G140/A96G148/A96A148 User’s manual
130
T3CRH (Timer 3 Control High Register): 1000H
7
6
5
4
3
2
1
0
T3EN
–
T3MS1
T3MS0
–
–
–
T3CC
R/W
–
R/W
R/W
–
–
–
R/W
Initial value: 00H
T3EN
Control Timer 3
0
Timer 3 disable
1
Timer 3 enable (Counter clear and start)
T3MS[1:0]
Control Timer 3 Operation Mode
T3MS1 T3MS0 Description
0
0
Timer/counter mode (T3O: toggle at A match)
0
1
Capture mode (The A match interrupt can occur)
1
0
PPG one-shot mode (PWM3O)
1
1
PPG repeat mode (PWM3O)
T3CC
Clear Timer 3 Counter
0
No effect
1
Clear the Timer 3 counter (When write, automatically
cleared “0” after being cleared counter)