| поискавой системы для электроныых деталей |
|
PIC12F683-E/MDQTP датащи(PDF) 56 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC12F683-E/MDQTP датащи(HTML) 56 Page - Microchip Technology |
|
56 / 176 page ![]() PIC12F683 DS41211D-page 54 © 2007 Microchip Technology Inc. 8.4 Comparator Control The CMCON0 register (Register 8-1) provides access to the following comparator features: • Mode selection • Output state • Output polarity • Input switch 8.4.1 COMPARATOR OUTPUT STATE The Comparator state can always be read internally via the COUT bit of the CMCON0 register. The comparator state may also be directed to the COUT pin in the following modes: • CM<2:0> = 001 • CM<2:0> = 011 • CM<2:0> = 101 When one of the above modes is selected, the associ- ated TRIS bit of the COUT pin must be cleared. 8.4.2 COMPARATOR OUTPUT POLARITY Inverting the output of the comparator is functionally equivalent to swapping the comparator inputs. The polarity of the comparator output can be inverted by setting the CINV bit of the CMCON0 register. 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 8-1. TABLE 8-1: OUTPUT STATE VS. INPUT CONDITIONS 8.4.3 COMPARATOR INPUT SWITCH The inverting input of the comparator may be switched between two analog pins in the following modes: • CM<2:0> = 101 • CM<2:0> = 110 In the above modes, both pins remain in analog mode regardless of which pin is selected as the input. The CIS bit of the CMCON0 register controls the comparator input switch. 8.5 Comparator Response Time The comparator output is indeterminate for a period of time after the change of an input source or the selection of a new reference voltage. This period is referred to as the response time. The response time of the comparator differs from the settling time of the voltage reference. Therefore, both of these times must be considered when determining the total response time to a comparator input change. See the Comparator and Voltage Reference Specifications in Section 15.0 “Electrical Specifications” for more details. Input Conditions CINV COUT VIN- > VIN+ 00 VIN- < VIN+ 01 VIN- > VIN+ 11 VIN- < VIN+ 10 Note: COUT refers to both the register bit and output pin. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |