13.07.2015 Views

dsPIC33F FRM - Section 45. High-Speed Analog Comparator

dsPIC33F FRM - Section 45. High-Speed Analog Comparator

dsPIC33F FRM - Section 45. High-Speed Analog Comparator

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>dsPIC33F</strong> Family Reference Manual<strong>45.</strong>4 CONTROL REGISTERSThe following registers are used to configure the <strong>High</strong>-<strong>Speed</strong> <strong>Analog</strong> <strong>Comparator</strong> module:• <strong>Comparator</strong> Control Register x (CMPCONx)This register is used to configure the comparator voltage reference source, input pin andoutput polarity. Depending on the device variant, there are up to four individual registers(CMPCON1-CMPCON4), which correspond to the respective comparator.• <strong>Comparator</strong> DAC Control Register x (CMPDACx)The contents of this register determine the threshold voltage for the comparator.Depending on the device variant, there are up to four individual registers(CMPDAC1-CMPDAC4), which correspond to the respective comparator.DS70296A-page 45-4© 2007 Microchip Technology Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!