A000047 Arduino, A000047 Datasheet - Page 258

MCU, MPU & DSP Development Tools Mega2560

A000047

Manufacturer Part Number
A000047
Description
MCU, MPU & DSP Development Tools Mega2560
Manufacturer
Arduino
Series
-r
Type
MCUr
Datasheets

Specifications of A000047

Processor To Be Evaluated
ATmega2560
Interface Type
USB, I2C, SPI
Dimensions
4 in x 2.1 in
Operating Supply Voltage
5 V
Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
ATmega2560
23.7.3
2549M–AVR–09/10
Slave Receiver Mode
Figure 23-14. Formats and States in the Master Receiver Mode
In the Slave Receiver mode, a number of data bytes are received from a Master Transmitter
(see
are zero or are masked to zero.
Figure 23-15. Data transfer in Slave Receiver mode
To initiate the Slave Receiver mode, TWAR and TWCR must be initialized as follows:
TWAR
value
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
Figure
From master to slave
From slave to master
$08
S
23-15). All the status codes mentioned in this section assume that the prescaler bits
SDA
SCL
TWA6
SLA
Device 1
RECEIVER
SLAVE
R
TWA5
MR
A or A
TRANSMITTER
DATA
ATmega640/1280/1281/2560/2561
$40
$48
$38
$68
Device 2
A
A
A
MASTER
$78
TWA4
Other master
Other master
n
continues
continues
P
Device’s Own Slave Address
$B0
DATA
Device 3
A
TWA3
Any number of data bytes
and their associated acknowledge bits
This number (contained in TWSR) corresponds
to a defined state of the Two-Wire Serial Bus. The
prescaler bits are zero or masked to zero
........
$50
$38
To corresponding
states in slave mode
A
A
TWA2
Device n
Other master
DATA
continues
V
CC
$58
A
TWA1
R1
$10
P
R
S
R2
TWA0
SLA
TWGCE
W
R
258
MT

Related parts for A000047