Go to the documentation of this file.
36 #define _UTIL_TWI_H_ 1
66 #define TW_REP_START 0x10
72 #define TW_MT_SLA_ACK 0x18
77 #define TW_MT_SLA_NACK 0x20
82 #define TW_MT_DATA_ACK 0x28
87 #define TW_MT_DATA_NACK 0x30
92 #define TW_MT_ARB_LOST 0x38
98 #define TW_MR_ARB_LOST 0x38
103 #define TW_MR_SLA_ACK 0x40
108 #define TW_MR_SLA_NACK 0x48
113 #define TW_MR_DATA_ACK 0x50
118 #define TW_MR_DATA_NACK 0x58
124 #define TW_ST_SLA_ACK 0xA8
129 #define TW_ST_ARB_LOST_SLA_ACK 0xB0
134 #define TW_ST_DATA_ACK 0xB8
139 #define TW_ST_DATA_NACK 0xC0
144 #define TW_ST_LAST_DATA 0xC8
150 #define TW_SR_SLA_ACK 0x60
155 #define TW_SR_ARB_LOST_SLA_ACK 0x68
160 #define TW_SR_GCALL_ACK 0x70
165 #define TW_SR_ARB_LOST_GCALL_ACK 0x78
170 #define TW_SR_DATA_ACK 0x80
175 #define TW_SR_DATA_NACK 0x88
180 #define TW_SR_GCALL_DATA_ACK 0x90
185 #define TW_SR_GCALL_DATA_NACK 0x98
190 #define TW_SR_STOP 0xA0
196 #define TW_NO_INFO 0xF8
201 #define TW_BUS_ERROR 0x00
210 #define TW_STATUS_MASK (_BV(TWS7)|_BV(TWS6)|_BV(TWS5)|_BV(TWS4)|\
218 #define TW_STATUS (TWSR & TW_STATUS_MASK)
Automatically generated by Doxygen 1.8.7 on Tue Jul 8 2014. Dash Docset conversion by Matt Kane