18.08.2013 Views

datasheet (3).pdf - EEWeb

datasheet (3).pdf - EEWeb

datasheet (3).pdf - EEWeb

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

dsPIC33FJ32MC302/304, dsPIC33FJ64MCX02/X04 AND dsPIC33FJ128MCX02/X04<br />

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

Note 1: This data sheet summarizes the features<br />

of the dsPIC33FJ32MC302/304,<br />

dsPIC33FJ64MCX02/X04 and<br />

dsPIC33FJ128MCX02/X04 family of<br />

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

comprehensive reference source. To<br />

complement the information in this data<br />

sheet, refer to “Section 34.<br />

Comparator” (DS70212) of the<br />

“dsPIC33F/PIC24H Family Reference<br />

Manual”, which is available from the<br />

Microchip web site<br />

2:<br />

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

Some registers and associated bits<br />

described in this section may not be<br />

available on all devices. Refer to<br />

Section 4.0 “Memory Organization” in<br />

this data sheet for device-specific register<br />

and bit information.<br />

FIGURE 24-1: COMPARATOR I/O OPERATING MODES<br />

C1IN+<br />

C1IN-<br />

C1IN+<br />

CVREF<br />

C2IN+<br />

C2IN-<br />

C2IN+<br />

CVREF<br />

C1NEG<br />

C1POS<br />

C2NEG<br />

C2POS<br />

VIN-<br />

VIN+<br />

VIN-<br />

VIN+<br />

C1EN<br />

C1<br />

C2EN<br />

C2<br />

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

configured to use any one of the four pin inputs<br />

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

Comparator Voltage Reference Input (CVREF).<br />

C1INV<br />

C2INV<br />

Note: 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 11.6<br />

“Peripheral Pin Select”.<br />

C1OUTEN<br />

C2OUTEN<br />

CMCON<br />

CMCON<br />

C1OUT (1)<br />

C2OUT (1)<br />

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

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

© 2011 Microchip Technology Inc. DS70291E-page 293

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

Saved successfully!

Ooh no, something went wrong!