26.4 Output Polarity Control

The last stage in the NCO module is the output polarity. The POL bit in the NCOxCON register selects the output polarity. Changing the polarity while the interrupts are enabled will cause an interrupt for the resulting output transition.

The NCO output can be used internally by source code or other peripherals. Accomplish this by reading the NxOUT (read-only) bit of the NCOxCON register. The NCO output signal (NCOx_out) is available to the following peripherals:
  • CLC
  • CWG
  • Timer1
  • Timer2
  • CLKR