ATmega16 Atmel Corporation, ATmega16 Datasheet - Page 200
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATmega16
Manufacturer Part Number
ATmega16
Description
Manufacturer
Atmel Corporation
Specifications of ATmega16
Flash (kbytes)
16 Kbytes
Pin Count
44
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
32
Ext Interrupts
3
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
3
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA16
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega16-16AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATmega16-16AU
Manufacturer:
ATMEL
Quantity:
537
Part Number:
ATmega16-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATmega16-16AUR
Manufacturer:
Encoders
Quantity:
101
Company:
Part Number:
ATmega16-16PC
Manufacturer:
ATM
Quantity:
100
Company:
Part Number:
ATmega16-16PI
Manufacturer:
RFMD
Quantity:
101
Company:
Part Number:
ATmega16-16PU
Manufacturer:
Atmel
Quantity:
140
2466T–AVR–07/10
Several different scenarios may arise during arbitration, as described below:
•
•
•
This is summarized in
Figure 96. Possible Status Codes Caused by Arbitration
Two or more Masters are performing identical communication with the same Slave. In this
case, neither the Slave nor any of the Masters will know about the bus contention.
Two or more Masters are accessing the same Slave with different data or direction bit. In this
case, arbitration will occur, either in the READ/WRITE bit or in the data bits. The Masters
trying to output a one on SDA while another Master outputs a zero will lose the arbitration.
Losing Masters will switch to not addressed Slave mode or wait until the bus is free and
transmit a new START condition, depending on application software action.
Two or more Masters are accessing different Slaves. In this case, arbitration will occur in the
SLA bits. Masters trying to output a one on SDA while another Master outputs a zero will
lose the arbitration. Masters losing arbitration in SLA will switch to Slave mode to check if
they are being addressed by the winning Master. If addressed, they will switch to SR or ST
mode, depending on the value of the READ/WRITE bit. If they are not being addressed, they
will switch to not addressed Slave mode or wait until the bus is free and transmit a new
START condition, depending on application software action.
START
Address / General Call
Figure
Direction
received
Own
Yes
Arbitration lost in SLA
SLA
96. Possible status values are given in circles.
Write
Read
No
68/78
38
B0
Arbitration lost in Data
TWI bus will be released and not addressed slave mode will be entered
A START condition will be transmitted when the bus becomes free
Data byte will be received and NOT ACK will be returned
Data byte will be received and ACK will be returned
Last data byte will be transmitted and NOT ACK should be received
Data byte will be transmitted and ACK should be received
Data
ATmega16(L)
STOP
200