| Electronic Components Datasheet Search |
|
PIC16C642-04/P Datasheet(PDF) 47 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16C642-04/P Datasheet(HTML) 47 Page - Microchip Technology |
|
47 / 136 page ![]() © 1996 Microchip Technology Inc. Preliminary DS30559A-page 47 PIC16C64X & PIC16C66X 7.0 COMPARATOR MODULE The comparator module contains two analog comparators. The inputs to the comparators are multiplexed with pins RA0 through RA4. The on-chip Voltage Reference (Section 8.0) can also be an input to the comparators. The CMCON register, shown in Figure 7-1, controls the comparator input and output multiplexers. A block diagram of the comparator is shown in Figure 7-2. FIGURE 7-1: CMCON REGISTER (ADDRESS 1Fh) R-0 R-0 U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 C2OUT C1OUT — — CIS CM2 CM1 CM0 R =Readable bit W =Writable bit U =Unimplemented bit, read as ‘0’ - n =Value at POR reset bit7 bit0 bit 7: C2OUT: Comparator 2 output 1 = C2 VIN+ > C2 VIN– 0 = C2 VIN+ < C2 VIN– bit 6: C1OUT: Comparator 1 output 1 = C1 VIN+ > C1 VIN– 0 = C1 VIN+ < C1 VIN– bit 5-4: Unimplemented: Read as '0' bit 3: CIS: Comparator Input Switch When CM2:CM0: = 001: Then: 1 = C1 VIN– connects to RA3 0 = C1 VIN– connects to RA0 When CM2:CM0 = 010: Then: 1 = C1 VIN– connects to RA3 C2 VIN– connects to RA2 0 = C1 VIN– connects to RA0 C2 VIN– connects to RA1 bit 2-0: CM2:CM0: Comparator mode Figure 7-2 shows the comparator modes and CM2:CM0 bit settings. This document was created with FrameMaker404 |
|
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 |