English
Language : 

PIC16F1933_11 Datasheet, PDF (213/430 Pages) Microchip Technology – 28-Pin Flash-Based, 8-Bit CMOS Microcontrollers LCD Driver and nanoWatt XLP Technology
23.4.6 PWM STEERING MODE
In Single Output mode, PWM steering allows any of the
PWM pins to be the modulated signal. Additionally, the
same PWM signal can be simultaneously available on
multiple pins.
Once the Single Output mode is selected
(CCPxM<3:2> = 11 and PxM<1:0> = 00 of the
CCPxCON register), the user firmware can bring out
the same PWM signal to one, two, three or four output
pins by setting the appropriate STRx<D:A> bits of the
PSTRxCON register, as shown in Table 23-9.
Note:
The associated TRIS bits must be set to
output (‘0’) to enable the pin output driver
in order to see the PWM signal on the pin.
While the PWM Steering mode is active, CCPxM<1:0>
bits of the CCPxCON register select the PWM output
polarity for the Px<D:A> pins.
The PWM auto-shutdown operation also applies to
PWM Steering mode as described in Section 23.4.3
“Enhanced PWM Auto-shutdown mode”. An
auto-shutdown event will only affect pins that have
PWM outputs enabled.
FIGURE 23-18:
STRxA
PxA Signal
CCPxM1
PORT Data
STRxB
SIMPLIFIED STEERING
BLOCK DIAGRAM
PxA pin
1
0
TRIS
CCPxM0
PORT Data
STRxC
1
PxB pin
0
TRIS
CCPxM1
PORT Data
STRxD
1
PxC pin
0
TRIS
CCPxM0
1
PxD pin
PORT Data
0
TRIS
Note 1:
2:
Port outputs are configured as shown when
the CCPxCON register bits PxM<1:0> = 00
and CCPxM<3:2> = 11.
Single PWM output requires setting at least
one of the STRx bits.
 2011 Microchip Technology Inc.
Preliminary
PIC16(L)F1933
DS41575A-page 213