| Electronic Components Datasheet Search |
|
PIC16F676-E/ST Datasheet(PDF) 40 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F676-E/ST Datasheet(HTML) 40 Page - Microchip Technology |
|
40 / 132 page ![]() PIC16F630/676 DS40039F-page 40 2010 Microchip Technology Inc. 6.1 Comparator Operation A single comparator is shown in Figure 6-1, along with the relationship between the analog input levels and the digital output. When the analog input at VIN+ is less than the analog input VIN-, the output of the comparator is a digital low level. When the analog input at VIN+ is greater than the analog input VIN-, the output of the comparator is a digital high level. The shaded areas of the output of the comparator in Figure 6-1 represent the uncertainty due to input offsets and response time. The polarity of the comparator output can be inverted by setting the CINV bit (CMCON<4>). Clearing CINV results in a non-inverted output. A complete table showing the output state versus input conditions and the polarity bit is shown in Table 6-1. TABLE 6-1: OUTPUT STATE VS. INPUT CONDITIONS FIGURE 6-1: SINGLE COMPARATOR Note: To use CIN+ and CIN- pins as analog inputs, the appropriate bits must be programmed in the CMCON (19h) register. Input Conditions CINV COUT VIN- > VIN+ 00 VIN- < VIN+ 01 VIN- > VIN+ 11 VIN- < VIN+ 10 Output VIN- VIN+ Output + – VIN+ VIN- Note: CINV bit (CMCON<4>) is clear. |
|
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 |