Freescale Semiconductor, Inc.
POT2–POT0—Prescaler Output Tap
If PCLK is set, these bits encode which of the prescaler's output taps act as the counter
clock. A division of the selected clock is applied to the counter as listed in Table 8-4.
Table 8-4. POT Encoding
Division of
Selected Clock
POT2 POT1 POT0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
Divide by 2
Divide by 4
Divide by 8
Divide by 16
Divide by 32
Divide by 64
Divide by 128
Divide by 256
MODE2–MODE0—Operation Mode
These bits select one of the eight modes of operation for the timer as listed in Table 8-5.
Refer to 8.3 Operating Modes for more information on the individual modes.
Table 8-5. MODEx Encoding
MODE2
MODE1
MODE0
OPERATION MODE
Input Capture/Output Compare
Square-Wave Generator
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Variable Duty-Cycle Square-Wave Generator
Variable-Width Single-Shot Pulse Generator
Pulse-Width Measurement
Period Measurement
Event Count
Timer Bypass (Simple Test Mode)
OC1–OC0—Output Control
These bits select the conditions under which TOUTx changes (see Table 8-6). These
bits may have a different effect when in the input capture/output compare mode.
Caution should be used when modifying the OC bits near timer events.
Table 8-6. OCx Encoding
OC1
OC0
TOUTx MODE
Disabled
0
0
1
1
0
1
0
1
Toggle Mode
Zero Mode
One Mode
8- 22
MC68340 USER’S MANUAL
MOTOROLA
For More Information On This Product,
Go to: www.freescale.com