| поискавой системы для электроныых деталей |
|
ATmega325P датащи(PDF) 203 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATmega325P датащи(HTML) 203 Page - ATMEL Corporation |
|
203 / 364 page ![]() 203 8023F–AVR–07/09 ATmega325P/3250P 20. Analog Comparator 20.1 Overview The Analog Comparator compares the input values on the positive pin AIN0 and negative pin AIN1. When the voltage on the positive pin AIN0 is higher than the voltage on the negative pin AIN1, the Analog Comparator output, ACO, is set. The comparator’s output can be set to trigger the Timer/Counter1 Input Capture function. In addition, the comparator can trigger a separate interrupt, exclusive to the Analog Comparator. The user can select Interrupt triggering on com- parator output rise, fall or toggle. A block diagram of the comparator and its surrounding logic is shown in Figure 20-1 . The PRADC, in ”PRR – Power Reduction Register” on page 44 must be written to zero to use the ADC input MUX. Figure 20-1. Analog Comparator Block Diagram (2) Note: 1. See Table 20-1 on page 203. 2. Refer to Figure 1-1 on page 2, Figure 1-2 on page 3and ”Alternate Functions of Port E” on page 75 for Analog Comparator pin placement. 20.2 Analog Comparator Multiplexed Input It is possible to select any of the ADC7:0 pins to replace the negative input to the Analog Com- parator. The ADC multiplexer is used to select this input, and consequently, the ADC must be switched off to utilize this feature. If the Analog Comparator Multiplexer Enable bit (ACME in ADCSRB) is set and the ADC is switched off (ADEN in ADCSRA is zero), MUX2:0 in ADMUX select the input pin to replace the negative input to the Analog Comparator, as shown in Table 20-1. If ACME is cleared or ADEN is set, AIN1 is applied to the negative input to the Analog Comparator. ACBG BANDGAP REFERENCE ADC MULTIPLEXER OUTPUT ACME ADEN (1) Table 20-1. Analog Comparator Multiplexed Input ACME ADEN MUX2:0 Analog Comparator Negative Input 0 x xxx AIN1 1 1 xxx AIN1 1 0 000 ADC0 |
|
ссылки 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 |