Microchip Technology MA330019 Ficha De Dados

Página de 460
dsPIC33FJ32MC302/304, dsPIC33FJ64MCX02/X04 AND dsPIC33FJ128MCX02/X04
DS70291G-page  306
© 2007-2012 Microchip Technology Inc.
bit 6
C1OUT: Comparator 1 Output bit
When C1INV = 0:
1  = C1  V
IN
+ > C1 V
IN
-
0  = C1  V
IN
+ < C1 V
IN
-
When C1INV = 1:
0  = C1  V
IN
+ > C1 V
IN
-
1  = C1  V
IN
+ < C1 V
IN
-
bit 5
C2INV: Comparator 2 Output Inversion bit
1 = C2 output inverted
0 = C2 output not inverted
bit 4
C1INV: Comparator 1 Output Inversion bit
1 = C1 output inverted
0 = C1 output not inverted
bit 3
C2NEG: Comparator 2 Negative Input Configure bit
1 = Input is connected to V
IN
+
0 = Input is connected to V
IN
-
 
for Comparator modes.
bit 2
C2POS: Comparator 2 Positive Input Configure bit
1 = Input is connected to V
IN
+
0 = Input is connected to CV
REF
 
for Comparator modes. 
bit 1
C1NEG: Comparator 1 Negative Input Configure bit
1 = Input is connected to V
IN
+
0 = Input is connected to V
IN
-
 
for Comparator modes. 
bit 0
C1POS: Comparator 1 Positive Input Configure bit
1 = Input is connected to V
IN
+
0 = Input is connected to CV
REF
 
for Comparator modes. 
REGISTER 24-1:
CMCON: COMPARATOR CONTROL REGISTER (CONTINUED) 
Note 1: If C2OUTEN = 1, the C2OUT peripheral output must be configured to an available RPx pin. See 
Section 11.6 “Peripheral Pin Select”
 for more information.
2: If C1OUTEN = 1, the C1OUT peripheral output must be configured to an available RPx pin. See 
Section 11.6 “Peripheral Pin Select”
 for more information.