ATtiny167 Automotive Atmel Corporation, ATtiny167 Automotive Datasheet - Page 211

no-image

ATtiny167 Automotive

Manufacturer Part Number
ATtiny167 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATtiny167 Automotive

Flash (kbytes)
16 Kbytes
Pin Count
20
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
8
Hardware Qtouch Acquisition
No
Max I/o Pins
16
Ext Interrupts
16
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Lin
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 150
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
3
Input Capture Channels
1
Pwm Channels
9
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
18. AnaComp - Analog Comparator
18.1
18.1.1
7728G–AVR–06/10
Register Description
ADC Control and Status Register B – ADCSRB
ADC Multiplexer
The Analog Comparator compares the input values on the positive pin (AIN1) and negative pin
(AIN0). 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 comparator and its surrounding logic is shown
in
Figure 18-1. Analog Comparator Block Diagram
Notes:
• Bit 6 – ACME: Analog Comparator Multiplexer Enable
When this bit is written logic one and the ADC is switched off (ADEN in ADCSRA is zero), the
ADC multiplexer selects the positive input to the Analog Comparator. When this bit is written
logic zero, AIN1 is applied to the positive input of the Analog Comparator.
When the Analog to Digital Converter (ADC) is configured as single ended input channel, it is
possible to select any of the ADC[10..0] pins to replace the positive input to the Analog Com-
parator. The ADC multiplexer (MUX[4..0]) is used to select this input, and consequently, the
ADC must be switched off to utilize this feature.
(from ADC)
Bit
Read/Write
Initial Value
REFS0
REFS1
Output
ADEN
Figure
(1)
1. See
2. Refer to
Reference
18-1.
Internal
2.56 V
placement.
ACIRS
Table 18-2 on page 214
ACME
BIN
(PA7)
(PA6)
R
AIN1
AIN0
7
0
Figure 1-2 on page 5
2.56 V
1.28 V
0.64 V
0.32 V
ACME
R/W
6
0
ACIR0
ACIR1
ACIR1
R/W
5
0
ACD
and
and
Table 18-3 on page 214
ACIR0
AVcc
Table 9-3 on page 76
R/W
4
0
(1)(2)
ACIS1
R
3
0
Sensivity
Interrupt
Control
ATtiny87/ATtiny167
ACIS0
ADTS2
R/W
2
0
for Analog Comparator pin
ACIE
ADTS1
R/W
1
0
ACO
ACI
Analog Comparator
ADTS0
R/W
0
0
Interrupt
16-bit Timer/Counter
Input Capture
ADCSRB
211

Related parts for ATtiny167 Automotive