Specifications
mikroElektronika | Free Online Book | PIC Microcontrollers | Chapter 5: CCP Modules
Fig. 5-18 PWM1CON Register
PSTRCON Register
STRSYNC - Steering Sync bit determines the moment of PWM pulse steering:
● 1 - Steering occurs upon the PSTRCON has been changed, but only if a PWM waveform is completed; and
● 0 - Steering occurs upon the PSTRCON register has been changed. The PWM signal on output pin is immediately
changed with no regard to whether the previous cycle is completed or not. This operation is useful when it is
needed to immediately remove a PWM signal from the pin.
STRD - Steering Enable bit D determines the P1D pin function.
● 1 - P1D pin has the PWM waveform with polarity controlled by the CCP1M0 and CCP1M1 bits; and
● 0 - Pin is configured as general Port D input/output.
STRC Steering Enable bit C determines the P1C pin function.
● 1 - P1C pin has the PWM waveform with polarity controlled by the CCP1M0 and CCP1M1 bits; and
● 0 - Pin is configured as general port D input/output.
STRB - Steering Enable bit B determines the P1B pin function.
● 1 - P1B pin has the PWM waveform with polarity controlled by the CCP1M0 and CCP1M1 bits; and
● 0 - Pin is configured as general port D input/output.
STRA - Steering Enable bit A determines the P1A pin function.
● 1 - P1D pin has the PWM waveform with polarity controlled by the CCP1M0 and CCP1M1 bits; and
● 0 - Pin is configured as general port Ainput/output.
ECCPAS Register
Fig. 5-19 ECCPAS Register
http://www.mikroe.com/en/books/picmcubook/ch5/ (14 of 15)5/3/2009 11:33:21 AM