English
Language : 

Z8F6421PM020SC Datasheet, PDF (110/299 Pages) Zilog, Inc. – High Performance 8-Bit Microcontrollers Z8 Encore-R 64K Series
Z8 Encore!® 64K Series
Product Specification
90
Caution:
When the Timer Output alternate function TxOUT on a GPIO port pin is
enabled, TxOUT will change to whatever state the TPOL bit is in. The tim-
er does not need to be enabled for that to happen. Also, the Port data direc-
tion sub register is not needed to be set to output on TxOUT. Changing the
TPOL bit with the timer enabled and running does not immediately change
the TxOUT.
PRES—Prescale value.
The timer input clock is divided by 2PRES, where PRES can be set from 0 to 7. The
prescaler is reset each time the Timer is disabled. This insures proper clock division
each time the Timer is restarted.
000 = Divide by 1
001 = Divide by 2
010 = Divide by 4
011 = Divide by 8
100 = Divide by 16
101 = Divide by 32
110 = Divide by 64
111 = Divide by 128
TMODE—TIMER mode
000 = ONE-SHOT mode
001 = CONTINUOUS mode
010 = COUNTER mode
011 = PWM mode
100 = CAPTURE mode
101 = COMPARE mode
110 = GATED mode
111 = CAPTURE/COMPARe mode
PS019915-1005
Timers