| Electronic Components Datasheet Search |
|
PIC16F684-E/ST Datasheet(PDF) 59 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F684-E/ST Datasheet(HTML) 59 Page - Microchip Technology |
|
59 / 164 page ![]() 2004 Microchip Technology Inc. Preliminary DS41202C-page 57 PIC16F684 8.3 Comparator Configuration There are eight modes of operation for the compara- tors. The CMCON0 register is used to select these modes. Figure 8-3 shows the eight possible modes. If the Comparator mode is changed, the comparator output level may not be valid for the specified mode change delay shown in Section 15.0 “Electrical Specifications”. FIGURE 8-3: COMPARATOR I/O OPERATING MODES Note: Comparator interrupts should be disabled during a Comparator mode change. Otherwise, a false interrupt may occur. C1 RA1/AN1 VIN- VIN+ RA0/AN0 Off (Read as ‘0’) Comparators Reset (POR Default Value) A A CM<2:0> = 000 C2 RC1/AN5 VIN- VIN+ RC0/AN4 Off (Read as ‘0’) A A C1 RA1/AN1 VIN- VIN+ RA0/AN0 C1OUT Two Independent Comparators A A CM<2:0> = 100 C2 RC1/AN5 VIN- VIN+ RC0/AN4 C2OUT A A C1 RA1/AN1 VIN- VIN+ RA0/AN0 C1OUT Two Common Reference Comparators A D CM<2:0> = 011 C2 RC1/AN5 VIN- VIN+ RC0/AN4 C2OUT A A C1 RA1/AN1 VIN- VIN+ RA0/AN0 Off (Read as ‘0’) One Independent Comparator D D CM<2:0> = 101 C2 RC1/AN5 VIN- VIN+ RC0/AN4 C2OUT A A C1 RA1/AN1 VIN- VIN+ RA0/AN0 Off (Read as ‘0’) Comparators Off (Lowest Power) D D CM<2:0> = 111 C2 RC1/AN5 VIN- VIN+ RC0/AN4 Off (Read as ‘0’) D D C1 RA1/AN1 VIN- VIN+ RA0/AN0 C1OUT Four Inputs Multiplexed to Two Comparators A A CM<2:0> = 010 C2 RC1/AN5 VIN- VIN+ RC0/AN4 C2OUT A A From CVREF Module CIS = 0 CIS = 1 CIS = 0 CIS = 1 C1 RA1/AN1 VIN- VIN+ RA2/C1OUT C1OUT Two Common Reference Comparators with Outputs A D CM<2:0> = 110 C2 RC1/AN5 VIN- VIN+ RC0/AN4 C2OUT A A D = Digital Input RC4/C2OUT C1 RA1/AN1 VIN- VIN+ RA0/AN0 C1OUT Three Inputs Multiplexed to Two Comparators A A CM<2:0> = 001 C2 RC1/AN5 VIN- VIN+ RC0/AN4 C2OUT A A CIS = 0 CIS = 1 Legend: A = Analog Input, ports always read ‘0’ CIS (CMCON0<3>) is the Comparator Input Switch |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |