ST10R272L - GENERAL PURPOSE TIMER UNITS
212/320
T6M
Timer 6 Mode Control (Basic Operating Mode)
0 0 0:
Timer Mode
0 0 1:
Counter Mode
0 1 0:
Gated Timer with Gate active low
0 1 1:
Gated Timer with Gate active high
1 X X:
Reserved. Do not use this combination.
T6R
Timer 6 Run Bit
T6R = ‘0’:
Timer / Counter 6 stops
T6R = ‘1’:
Timer / Counter 6 runs
T6UD
Timer 6 Up / Down Control
1
T6UDE
Timer 6 External Up/Down Enable
1
T6OE
Alternate Output Function Enable
T6OE = ‘0’:
Alternate Output Function Disabled
T6OE = ‘1’:
Alternate Output Function Enabled
T6OTL
Timer 6 Output Toggle Latch
Toggles on each overflow / underflow of T6. Can be set or reset by software.
T6SR
Timer 6 Reload Mode Enable
T6SR = ‘0’:
Reload from register CAPREL Disabled
T6SR = ‘1’:
Reload from register CAPREL Enabled
Bit
Function