English
Language : 

MC68HC11G5 Datasheet, PDF (133/195 Pages) Motorola, Inc – High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Freescale Semiconductor, Inc.
11.2 MODE 0: 8-BIT PWM WITH SELECTABLE PHASE SHIFT
In mode 0, the event counter operates as an 8-bit PWM unit with an 8-bit phase shifter. If mode 0
is selected (EVMDB = 0, EVMDA = 0), then the elements of the event counter are configured as
shown in Figure 11-2.
EVI2 (PH4)
INPUT2
EVI1(PH5)
E
E/2
E/4
E/8
E/16
E/32
E/64
E/128
INPUT1
CLEAR
EVCNT2
8
X
ECMP2A
8
Z
ECMP2B
EVENT2
CLEAR
EVCNT1
8
ECMP1A
Y
8
R
X'
ECMP1B
S
EVENT1
(PH6) EVO
EVI2
EVCNT2
EVO
X X'
Y-X'
Y-X'
Y
Figure 11-2. 8-bit PWM with Selectable Phase Shift (Mode 0)
11.2.1 Operation of PWM and PA Unit in Mode 0
The period of the modulated output is controlled by an external signal applied to the EVI2 pin. The
active edge of this input signal is selected via the INPUT2 selector. This input signal clears EVCNT2
in the PA unit and starts the 8-bit phase shift sequence.
EVENT COUNTER
11-3
For More Information On This Product,
Go to: www.freescale.com