|
Z8F1680SH020SG Datasheet, PDF (141/412 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers | |||
|
◁ |
Z8 Encore! XP® F1680 Series
Product Specification
116
Bit
Description (Continued)
[5:3]ï
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
[2:0]ï
Timer Mode
TMODE[2:0] This field, along with the TMODE[3] bit in the TxCTL0 Register, determines the operating
mode of the timer. TMODE[3:0] selects among the following modes:
0000 = ONE-SHOT Modeï
0001 = CONTINUOUS Modeï
0010 = COUNTER Modeï
0011 = PWM SINGLE OUTPUT Modeï
0100 = CAPTURE Modeï
0101 = COMPARE Modeï
0110 = GATED Modeï
0111 = CAPTURE/COMPARE Modeï
1000 = PWM DUAL OUTPUT Modeï
1001 = CAPTURE RESTART Modeï
1010 = COMPARATOR COUNTER Modeï
1011 = TRIGGERED ONE-SHOT Modeï
1100 = DEMODULATION Mode
PS025015-1212
PRELIMINARY
Timers
|
▷ |