mc68331cpv20b1 Freescale Semiconductor, Inc, mc68331cpv20b1 Datasheet - Page 167

no-image

mc68331cpv20b1

Manufacturer Part Number
mc68331cpv20b1
Description
Mc68331 32 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
7.8 Capture/Compare Unit
MC68331
USER’S MANUAL
Multiplexer outputs (including the PCLK signal) can be connected to external pins) can
be connected to external pins. The CPROUT bit in the TMSK2 register configures the
OC1 pin to output the TCNT clock and the PPROUT bit in the PWMC register config-
ures the PWMA pin to output the PWMC clock. CPROUT and PPROUT can be written
at any time. Clock signals on OC1 and PWMA do not have a 50% duty cycle. They
have the period of the selected clock but are high for only one system clock time.
The prescaler also supplies three clock signals to the pulse accumulator clock select
mux. These are the system clock divided by 512, the external clock signal from the
PCLK pin and the capture/compare clock signal.
The capture/compare unit contains the timer counter (TCNT), the input capture (IC)
functions and the output compare (OC) functions. Figure 7-3 is a block diagram of the
capture/compare unit.
PCLK
PIN
SYSTEM CLOCK
DIVIDER
Freescale Semiconductor, Inc.
SYNCHRONIZER AND
Figure 7-2 Prescaler Block Diagram
DIGITAL FILTER
For More Information On This Product,
GENERAL-PURPOSE TIMER
Go to: www.freescale.com
EXT.
EXT.
256
128
128
64
64
32
16
32
16
4
4
8
8
2
CPR2 CPR1 CPR0
PPR2 PPR1 PPR0
EXT.
512
SELECT
SELECT
TO PULSE ACCUMULATOR
TO PULSE ACCUMULATOR
TO PULSE ACCUMULATOR
TO CAPTURE/
GPT PRESCALER BLOCK
PWM UNIT
COMPARE
TIMER
TO
7-9
7

Related parts for mc68331cpv20b1