TWI bus status codes.
| Enumerator |
|---|
| BusError | 0x00 - Illegal START or STOP condition.
|
| StartTransmitted | 0x08 - START sent.
|
| RepeatedStartTransmitted | 0x10 - Repeated START sent.
|
| AddressWriteAck | 0x18 - SLA+W sent, ACK received.
|
| AddressWriteNack | 0x20 - SLA+W sent, NACK received.
|
| DataWriteAck | 0x28 - Data sent, ACK received.
|
| DataWriteNack | 0x30 - Data sent, NACK received.
|
| ArbitrationLost | 0x38 - Bus arbitration lost.
|
| AddressReadAck | 0x40 - SLA+R sent, ACK received.
|
| AddressReadNack | 0x48 - SLA+R sent, NACK received.
|
| DataReadAck | 0x50 - Data received, ACK returned.
|
| DataReadNack | 0x58 - Data received, NACK returned.
|
| OwnAddressWriteAck | 0x60 - Own SLA+W received; ACK sent.
|
| ArbitrationLostOwnAddressWriteAck | 0x68 - Arbitration lost; own SLA+W received.
|
| GeneralCallAck | 0x70 - General call received; ACK sent.
|
| ArbitrationLostGeneralCallAck | 0x78 - Arbitration lost; general call received.
|
| OwnAddressDataAck | 0x80 - Data received after own SLA+W; ACK sent.
|
| OwnAddressDataNack | 0x88 - Data received after own SLA+W; NACK sent.
|
| GeneralCallDataAck | 0x90 - General-call data received; ACK sent.
|
| GeneralCallDataNack | 0x98 - General-call data received; NACK sent.
|
| StopOrRepeatedStartReceived | 0xA0 - STOP or repeated START received.
|
| OwnAddressReadAck | 0xA8 - Own SLA+R received; ACK sent.
|
| ArbitrationLostOwnAddressReadAck | 0xB0 - Arbitration lost; own SLA+R received.
|
| OwnAddressReadDataAck | 0xB8 - Data transmitted; ACK received.
|
| OwnAddressReadDataNack | 0xC0 - Data transmitted; NACK received.
|
| LastDataByteAck | 0xC8 - Final data byte sent; ACK received.
|
| NoRelevantStateInformation | 0xF8 - No relevant TWI state.
|