English
Language : 

PIC16LF1824T39A_12 Datasheet, PDF (221/418 Pages) Microchip Technology – 20-Pin Flash Microcontrollers with XLP Technology
24.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 24-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 24.4.3
“Enhanced PWM Auto-shutdown mode”. An auto-
shutdown event will only affect pins that have PWM
outputs enabled.
FIGURE 24-18:
STRxA
PxA Signal
CCPxM1
PORT Data
STRxB
SIMPLIFIED STEERING
BLOCK DIAGRAM
PxA pin
1
0
TRIS
CCPxM0
PORT Data
STRxC
PxB pin
1
0
TRIS
CCPxM1
PORT Data
STRxD
1
PxC pin
0
TRIS
CCPxM0
1
PxD pin
PORT Data
0
TRIS
Note 1: Port outputs are configured as shown when
the CCPxCON register bits PxM<1:0> = 00
and CCPxM<3:2> = 11.
2: Single PWM output requires setting at least
one of the STRx bits.
PIC16LF1824T39A
 2012 Microchip Technology Inc.
Preliminary
DS41657A-page 221