Input Source
The CWG offers several input sources to generate the complementary waveform. This may vary from device to device. The list below is from the PIC16F1507 device. The list includes:
• PWM1 (Pulse Width Modulated Output 1)
• PWM2 (Pulse Width Modulated Output 2)
• PWM3 (Pulse Width Modulated Output 3)
• PWM4 (Pulse Width Modulated Output 4)
• N1OUT (Numerically Controlled Oscillator Output)
• LC1OUT (Configurable Logic Cell Output)
The input source is selected using the GxIS<2:0> bits in the CWGxCON1 register.
Some devices also include the output from a comparator module as input to the CWG. It's best to refer to the datasheet for the device you are using for the updated list of selected input choices.
