| Electronic Components Datasheet Search |
|
ATtiny261A Datasheet(PDF) 135 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATtiny261A Datasheet(HTML) 135 Page - ATMEL Corporation |
|
135 / 292 page ![]() 135 8197A–AVR–10/09 ATtiny261A/461A/861A 14. AC – Analog Comparator The analog comparator compares the input values on the selectable positive pin (AIN0, AIN1 or AIN2) and selectable negative pin (AIN0, AIN1 or AIN2). When the voltage on the positive pin is higher than the voltage on the negative pin, the Analog Comparator Output, ACO, is set. The comparator can trigger a separate interrupt, exclusive to the analog comparator. The user can select Interrupt triggering on comparator output rise, fall or toggle. A block diagram of the com- parator and its surrounding logic is shown in Figure 14-1. Figure 14-1. Analog Comparator Block Diagram Notes: 1. See Table 14-1 on page 135. See Figure 1-1 on page 2 and Table 10-3 on page 61 for Analog Comparator pin placement. 14.1 Analog Comparator Multiplexed Input When the Analog to Digital Converter (ADC) is configurated as single ended input channel, it is possible to select any of the ADC10:0 pins to replace the negative input to the analog compara- tor. 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), MUX5:0 in ADMUX select the input pin to replace the negative input to the analog comparator, as shown in Table 14-1. If ACME is cleared or ADEN is set, either AIN0, AIN1 or AIN2 is applied to the negative input to the analog comparator. ACBG BANDGAP REFERENCE ADC MULTIPLEXER OUTPUT ACME ADEN (1) MUX AIN0 AIN1 AIN2 ACM2..1 Table 14-1. Analog Comparator Multiplexed Input ACME ADEN MUX5:0 ACM2:0 Positive Input Negative Input 0 x xxxxxx 000 AIN0 AIN1 0 x xxxxxx 001 AIN0 AIN2 0 x xxxxxx 010 AIN1 AIN0 0 x xxxxxx 011 AIN1 AIN2 |
|
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 |