Техническая Спецификация для Atmel ATmega328P Xplained Mini MEGA328P-XMINI MEGA328P-XMINI

Модели
MEGA328P-XMINI
Скачать
Страница из 657
223
ATmega48A/PA/88A/PA/168A/PA/328/P [DATASHEET]
Atmel-8271H-AVR- ATmega-Datasheet_08/2014
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 
). 
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
SLA
R
A
DATA
A
$08
$40
$50
SLA
R
$10
A
P
$48
A or A
$38
Other master
continues
$38
Other master
continues
W
A
$68
Other master
continues
$78
$B0
To corresponding
states in slave mode
MR
MT
Successfull
reception
from a slave
receiver
Next transfer
started with a
repeated start
condition
Not acknowledge
received after the
slave address
Arbitration lost in slave
address or data byte
Arbitration lost and
addressed as slave
DATA
A
n
From master to slave
From slave to master
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
P
DATA
A
$58
A
R
S
Device 3
Device n
SDA
SCL
........
R1
R2
V
CC
Device 2
MASTER
TRANSMITTER
Device 1
SLAVE
RECEIVER