| Electronic Components Datasheet Search |
|
PIC16F917E/ML301 Datasheet(PDF) 97 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F917E/ML301 Datasheet(HTML) 97 Page - Microchip Technology |
|
97 / 272 page ![]() © 2005 Microchip Technology Inc. Preliminary DS41250E-page 95 PIC16F917/916/914/913 8.3 Comparator Configuration There are eight modes of operation for the comparators. 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 19.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 RA0/AN0/ VIN- VIN+ RA3/AN3/ Off (Read as ‘0’) Comparators Reset (POR Default Value) A A CM<2:0> = 000 C2 RA1/AN1/ VIN- VIN+ RA2/AN2/ Off (Read as ‘0’) A A C1 VIN- VIN+ C1OUT Two Independent Comparators A A CM<2:0> = 100 C2 VIN- VIN+ C2OUT A A C1 VIN- VIN+ C1OUT Two Common Reference Comparators A D CM<2:0> = 011 C2 VIN- VIN+ C2OUT A A C1 VIN- VIN+ Off (Read as ‘0’) One Independent Comparator with Reference Option D D CM<2:0> = 101 C2 VIN- VIN+ C2OUT C1 VIN- VIN+ Off (Read as ‘0’) Comparators Off D D CM<2:0> = 111 C2 VIN- VIN+ Off (Read as ‘0’) D D C1 VIN- VIN+ C1OUT Four Inputs Multiplexed to Two Comparators A A CM<2:0> = 010 C2 VIN- VIN+ C2OUT A A From CVREF Module CIS = 0 CIS = 1 CIS = 0 CIS = 1 C1 VIN- VIN+ C1OUT Two Common Reference Comparators with Outputs A CM<2:0> = 110 C2 VIN- VIN+ C2OUT A A C1 VIN- VIN+ C1OUT Three Inputs Multiplexed to Two Comparators A A CM<2:0> = 001 C2 VIN- VIN+ C2OUT A A CIS = 0 CIS = 1 RA4 RA5 C1-/SEG12 C1+/VREF+/SEG15 RA0/AN0/ C1-/SEG12 RA3/AN3/ C1+/VREF+/SEG15 C2-/SEG7 C2+/VREF-/COM2 RA1/AN1/ C2-/SEG7 RA2/AN2/ C2+/VREF-/COM2 RA0/AN0/ C1-/SEG12 RA3/AN3/ C1+/VREF+/SEG15 RA1/AN1/ C2-/SEG7 RA2/AN2/ C2+/VREF-/COM2 RA0/AN0/ C1-/SEG12 RA3/AN3/ C1+/VREF+/SEG15 RA1/AN1/ C2-/SEG7 RA2/AN2/ C2+/VREF-/COM2 RA0/AN0/ C1-/SEG12 RA1/AN1/ C2-/SEG7 RA2/AN2/ C2+/VREF-/COM2 RA0/AN0/ C1-/SEG12 RA3/AN3/ C1+/VREF+/SEG15 RA1/AN1/ C2-/SEG7 RA2/AN2/ C2+/VREF-/COM2 RA2/AN2/ C2+/VREF-/COM2 RA1/AN1/ C2-/SEG7 RA3/AN3/ C1+/VREF+/SEG15 RA0/AN0/ C1-/SEG12 A A A CIS = 0 CIS = 1 RA0/AN0/ C1-/SEG12 RA1/AN1/ C2-/SEG7 RA2/AN2/ C2+/VREF-/ COM2 RA5 RA3/AN3/ C1+/VREF+/ SEG15 Internal 0.6V reference Legend: A = Analog Input, port reads zeros always. D = Digital Input. CIS (CMCON0<3>) is the computer 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 |