12. Timer 0/1/2/3/4/5
A96G140/A96G148/A96A148 User’s manual
110
T1CRH (Timer 1ControlHigh Register): BBH
7
6
5
4
3
2
1
0
T1EN
–
T1MS1
T1MS0
–
–
–
T1CC
R/W
–
R/W
R/W
–
–
–
R/W
Initial value: 00H
T1EN
Control Timer 1
0
Timer 1 disable
1
Timer 1 enable (Counter clear and start)
T1MS[1:0]
Control Timer 1 Operation Mode
T1MS1 T1MS0 Description
0
0
Timer/counter mode (T1O: toggle at A match)
0
1
Capture mode (The A match interrupt can occur)
1
0
PPG one-shot mode (PWM1O)
1
1
PPG repeat mode (PWM1O)
T1CC
Clear Timer 1 Counter
0
No effect
1
Clear the Timer 1 counter (When write, automatically
cleared “0” after being cleared counter)