Datasheet
ATmega48PA/88PA/168PA [DATASHEET]
9223F–AVR–04/14
198
Figure 22-14. Formats and States in the Master Receiver Mode
22.7.3 Slave Receiver Mode
In the slave receiver mode, a number of data bytes are received from a master transmitter (see Figure 22-15). All the status
codes mentioned in this section assume that the prescaler bits are zero or are masked to zero.
Figure 22-15. Data Transfer in Slave Receiver Mode
S
Successfull
reception
from a slave
receiver
Next transfer
started with a
repeated start
condition
Not acknowledge
received after the
slave address
Arbitration lost and
addressed as slave
Arbitration lost in slave
address or data byte
From master to slave
Any number of data bytes
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
From slave to master
SLA R
R
S
SLA R
A DATAAP
AP W
MT
MR
DATA
ADATA
$08 $40
$48
$38
$50 $58
$38
$10
A
A or A
Other master
continues
$68 $78
n
A
Other master
continues
To corresponding
states in slave mode
A or A
Other master
continues
$B0
Device 1
Slave
Receiver
SDA
V
CC
SCL
Device 3 Device n........ R1 R2
Device 2
Master
Transmitter