19.07.2014 Views

PIC24HJ64 Datasheet

PIC24HJ64 Datasheet

PIC24HJ64 Datasheet

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PIC24HJ32GP302/304, <strong>PIC24HJ64</strong>GPX02/X04, AND PIC24HJ128GPX02/X04<br />

20.0 COMPARATOR MODULE The Comparator module provides a set of dual input<br />

Note:<br />

This data sheet summarizes the features<br />

of the PIC24HJ32GP302/304,<br />

<strong>PIC24HJ64</strong>GPX02/X04,<br />

and<br />

PIC24HJ128GPX02/X04 families of<br />

devices. It is not intended to be a comprehensive<br />

reference source. To complement<br />

the information in this data sheet, refer to<br />

the PIC24H Family Reference Manual,<br />

“Section 34. Comparator”, which is<br />

available from the Microchip website<br />

(www.microchip.com).<br />

comparators. The inputs to the comparator can be configured<br />

to use any one of the four pin inputs (C1IN+,<br />

C1IN-, C2IN+ and C2IN-) as well as the Comparator<br />

Voltage Reference Input (CVREF).<br />

Note:<br />

This peripheral contains output functions<br />

that may need to be configured by<br />

the peripheral pin select feature. For<br />

more information, see Section 10.4<br />

“Peripheral Pin Select”<br />

FIGURE 20-1:<br />

COMPARATOR I/O OPERATING MODES<br />

C1NEG<br />

C1IN+<br />

C1IN-<br />

VIN-<br />

C1EN<br />

C1INV<br />

CMCON<br />

C1OUT (1)<br />

C1IN+<br />

CVREF<br />

C1POS<br />

VIN+<br />

C1<br />

C1OUTEN<br />

C2NEG<br />

C2IN+<br />

C2IN-<br />

VIN-<br />

C2EN<br />

C2INV<br />

CMCON<br />

C2OUT (1)<br />

C2IN+<br />

CVREF<br />

C2POS<br />

VIN+<br />

C2<br />

C2OUTEN<br />

Note 1:<br />

This peripheral’s outputs must be assigned to an available RPn pin before use. Refer to<br />

Section 10.4 “Peripheral Pin Select” for more information.<br />

© 2008 Microchip Technology Inc. Preliminary DS70293B-page 225

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

Saved successfully!

Ooh no, something went wrong!