Z8F160x Zilog, Z8F160x Datasheet - Page 88

no-image

Z8F160x

Manufacturer Part Number
Z8F160x
Description
Z8 Encore / Microcontrollers with Flash Memory and 10 Bit A/D Converter
Manufacturer
Zilog
Datasheet
Table 44. Timer 0-3 Control Register (TxCTL)
PS017610-0404
RESET
FIELD
ADDR
BITS
R/W
Timer 0-3 Control Registers
TEN
R/W
7
0
The Timer 0-3 Control (TxCTL) registers enable/disable the timers, set the prescaler
value, and determine the timer operating mode.
TEN—Timer Enable
0 = Timer is disabled.
1 = Timer enabled to count.
TPOL—Timer Input/Output Polarity
Operation of this bit is a function of the current operating mode of the timer.
One-Shot mode
When the timer is disabled, the Timer Output signal is set to the value of this bit.
When the timer is enabled, the Timer Output signal is complemented upon timer
Reload.
Continuous mode
When the timer is disabled, the Timer Output signal is set to the value of this bit.
When the timer is enabled, the Timer Output signal is complemented upon timer
Reload.
Counter mode
When the timer is disabled, the Timer Output signal is set to the value of this bit.
When the timer is enabled, the Timer Output signal is complemented upon timer
Reload.
PWM mode
0 = Timer Output is forced Low (0) when the timer is disabled. When enabled, the
Timer Output is forced High (1) upon PWM count match and forced Low (0) upon
Reload.
1 = Timer Output is forced High (1) when the timer is disabled. When enabled, the
Timer Output is forced Low (0) upon PWM count match and forced High (1) upon
Reload.
TPOL
R/W
6
0
R/W
5
0
F07H, F0FH, F17H, F1FH
PRES
R/W
4
0
Z8F640x/Z8F480x/Z8F320x/Z8F240x/Z8F160x
R/W
3
0
R/W
2
0
TMODE
R/W
1
0
Z8 Encore!
R/W
Timers
0
0
®
70

Related parts for Z8F160x