ATmega88PA Automotive Atmel Corporation, ATmega88PA Automotive Datasheet - Page 236

no-image

ATmega88PA Automotive

Manufacturer Part Number
ATmega88PA Automotive
Description
Manufacturer
Atmel Corporation
Table 22-6.
236
Prescaler Bits
Status Code
(TWSR)
are 0
0xC0
0xC8
0xA8
0xB0
0xB8
Atmel ATmega48PA/88PA/168PA [Preliminary]
transmitted (TWEA = “0”); ACK has
Last data byte in TWDR has been
received; ACK has been returned
Status of the 2-wire Serial Bus
Own SLA+R has been received;
transmitted; NOT ACK has been
Status Codes for Slave Transmitter Mode
Arbitration lost in SLA+R/W as
Master; own SLA+R has been
Data byte in TWDR has been
Data byte in TWDR has been
and 2-wire Serial Interface
transmitted; ACK has been
ACK has been returned
been received
Hardware
received
received
No TWDR action or
No TWDR action or
No TWDR action or
No TWDR action or
No TWDR action or
No TWDR action or
Load data byte or
Load data byte or
Load data byte or
No TWDR action
No TWDR action
To/from TWDR
Load data byte
Load data byte
Load data byte
Application Software Response
STA
X
X
X
X
X
X
0
0
1
1
0
0
1
1
STO
0
0
0
0
0
0
0
0
0
0
0
0
0
0
To TWCR
TWINT
1
1
1
1
1
1
1
1
1
1
1
1
1
1
TWEA
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Next Action Taken by TWI Hardware
Last data byte will be transmitted and NOT ACK should
be received
Data byte will be transmitted and ACK should be
received
Last data byte will be transmitted and NOT ACK should
be received
Data byte will be transmitted and ACK should be
received
Last data byte will be transmitted and NOT ACK should
be received
Data byte will be transmitted and ACK should be
received
Switched to the not addressed Slave mode;
no recognition of own SLA or GCA
Switched to the not addressed Slave mode;
own SLA will be recognized;
GCA will be recognized if TWGCE = “1”
Switched to the not addressed Slave mode;
no recognition of own SLA or GCA;
a START condition will be transmitted when the bus
becomes free
Switched to the not addressed Slave mode;
own SLA will be recognized;
GCA will be recognized if TWGCE = “1”;
a START condition will be transmitted when the bus
becomes free
Switched to the not addressed Slave mode;
no recognition of own SLA or GCA
Switched to the not addressed Slave mode;
own SLA will be recognized;
GCA will be recognized if TWGCE = “1”
Switched to the not addressed Slave mode;
no recognition of own SLA or GCA;
a START condition will be transmitted when the bus
becomes free
Switched to the not addressed Slave mode;
own SLA will be recognized;
GCA will be recognized if TWGCE = “1”;
a START condition will be transmitted when the bus
becomes free
9223B–AVR–09/11

Related parts for ATmega88PA Automotive