A96G140/A96G148/A96A148 User’s manual
12. Timer 0/1/2/3/4/5
131
T3CRL (Timer 3 Control Low Register): 1001H
7
6
5
4
3
2
1
0
T3CK2
T3CK1
T3CK0
T3IFR
–
T3POL
T3ECE
T3CNTR
R/W
R/W
R/W
R/W
–
R/W
R/W
R/W
Initial value: 00H
T3CK[2:0]
Select Timer 3 clock source. fx is main system clock frequency
T3CK2
T3CK1 T3CK0 Description
0
0
0
fx/2048
0
0
1
fx/512
0
1
0
fx/64
0
1
1
fx/8
1
0
0
fx/4
1
0
1
fx/2
1
1
0
fx/1
1
1
1
External clock (EC3)
T3IFR
When T3 Interrupt occurs, this bit becomes
‘1’. For clearing bit, write
‘0’ to this bit or auto clear by INT_ACK signal. Writing “1” has no effect.
0
T3 Interrupt no generation
1
T3 Interrupt generation
T3POL
T3O/PWM3O Polarity Selection
0
Start High (T3O/PWM3O is low level at disable)
1
Start Low (T3O/PWM3O is high level at disable)
T3ECE
Timer 3 External Clock Edge Selection
0
External clock falling edge
1
External clock rising edge
T3CNTR
Timer 3 Counter Read Control
0
No effect
1
Load the counter value to the B data register (When write,
automatically cleared
“0” after being loaded)
12.5
Timer 4
A 16-bit timer 4 consists of a multiplexer, timer 4 A data high/low register, timer 4 B data high/low
register and timer 4 control high/low register (T4ADRH, T4ADRL, T4BDRH, T4BDRL, T4CRH, and
T4CRL).
Timer 4 operates in one of the following modes:
16-bit timer/counter mode
16-bit capture mode
16-bit PPG output mode (one-shot mode)
16-bit PPG output mode (repeat mode)