EasyManua.ls Logo

Abov A96G174 - Page 98

Abov A96G174
211 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
11. Timer 0/1/2 A96G174/A96S174 User’s manual
98
T1CRL (Timer 1ControlLow Register): BAH
7
6
5
4
3
2
1
0
T1CK2
T1CK1
T1CK0
T1IFR
T1BPOL
T1POL
T1ECE
T1CNTR
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
T1CK[2:0]
Select Timer 1 clock source. fx is main system clock frequency
T1CK2
T1CK1
T1CK0
Description
0
0
0
fx/2048
0
0
1
fx/64
0
1
0
fx/8
0
1
1
fx/4
1
0
0
fx/2
1
0
1
fx/1
1
1
0
HSIRC Direct (32MHz)
1
1
1
External clock (EC1)
T1IFR
When T1 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
T1 Interrupt no generation
1
T1 Interrupt generation
T1BPOL
PWM1OB Polarity Selection
0
Start High (PWM1OB is low level at disable)
1
Start Low (PWM1OB is high level at disable)
T1POL
T1O/PWM1O Polarity Selection
0
Start High (T1O/PWM1O is low level at disable)
1
Start Low (T1O/PWM1O is high level at disable)
T1ECE
Timer 1 External Clock Edge Selection
0
External clock falling edge
1
External clock rising edge
T1CNTR
Timer 1 Counter Read Control
0
No effect
1
Load the counter value to the B data register (When write,
automatically cleared “0” after being loaded)

Table of Contents