English
Language : 

ATMEGA48V_06 Datasheet, PDF (231/374 Pages) ATMEL Corporation – 8-bit Microcontroller with 8K Bytes In-System Programmable Flash
ATmega48/88/168
Figure 20-16. Formats and States in the Slave Receiver Mode
Reception of the own
slave address and one or
S
SLA
W
A
DATA
A
more data bytes. All are
acknowledged
$60
$80
DATA
A
P or S
$80
$A0
Last data byte received
is not acknowledged
A
P or S
$88
Arbitration lost as master
and addressed as slave
A
Reception of the general call
address and one or more data
bytes
Last data byte received is
not acknowledged
$68
General Call
A
$70
DATA
A
DATA
A
P or S
$90
$90
$A0
A
P or S
$98
Arbitration lost as master and
addressed as slave by general call
A
$78
From master to slave
From slave to master
DATA
n
Any number of data bytes
A
and their associated acknowledge bits
This number (contained in TWSR) corresponds
to a defined state of the 2-Wire Serial Bus. The
prescaler bits are zero or masked to zero
20.7.4
Slave Transmitter Mode
In the Slave Transmitter mode, a number of data bytes are transmitted to a Master Receiver
(see Figure 20-17). All the status codes mentioned in this section assume that the prescaler bits
are zero or are masked to zero.
Figure 20-17. Data Transfer in Slave Transmitter Mode
VCC
Device 1
Device 2
SLAVE
MASTER
Device 3 ........ Device n
R1
R2
TRANSMITTER
RECEIVER
SDA
SCL
2545J–AVR–12/06
231