English
Language : 

PIC16F193X Datasheet, PDF (212/418 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology
PIC16F193X/LF193X
19.6.7.1 Steering Synchronization
The STRxSYNC bit of the PSTRxCON register gives
the user two selections of when the steering event will
happen. When the STRxSYNC bit is ‘0’, the steering
event will happen at the end of the instruction that
writes to the PSTRxCON register. In this case, the
output signal at the P1<D:A> pins may be an
incomplete PWM waveform. This operation is useful
when the user firmware needs to immediately remove
a PWM signal from the pin.
When the STRxSYNC bit is ‘1’, the effective steering
update will happen at the beginning of the next PWM
period. In this case, steering on/off the PWM output will
always produce a complete PWM waveform.
Figures 19-19 and 19-20 illustrate the timing diagrams
of the PWM steering depending on the STRXSYNC
setting.
FIGURE 19-19:
PWM
EXAMPLE OF STEERING EVENT AT END OF INSTRUCTION (STRXSYNC = 0)
PWM Period
STRx
P1<D:A>
PORT Data
P1n = PWM
PORT Data
FIGURE 19-20:
EXAMPLE OF STEERING EVENT AT BEGINNING OF INSTRUCTION
(STRXSYNC = 1)
PWM
STRx
P1<D:A>
PORT Data
P1n = PWM
PORT Data
DS41364A-page 210
Preliminary
© 2008 Microchip Technology Inc.