NetBurner 3.0
I2C Function Return Values

Macros

#define I2C_OK   (0)
 Last instruction terminated correctly.
 
#define I2C_NEXT_WRITE_OK   (1)
 I2C bus is OK for a write.
 
#define I2C_NEXT_READ_OK   (2)
 I2C bus is OK for a read.
 
#define I2C_MASTER_OK   (3)
 I2C finished transmission but still owns but (need to stop or restart)
 
#define I2C_TIMEOUT   (4)
 A timeout occurred while trying communicate on I2C bus.
 
#define I2C_BUS_NOT_AVAIL   (5)
 A timeout occurred while trying gain I2C bus control.
 
#define I2C_NOT_READY   (6)
 A read or write was attempted before I2C ready or during a slave transmission.
 
#define I2C_LOST_ARB   (7)
 Lost arbitration during start.
 
#define I2C_LOST_ARB_ADD   (8)
 Lost arbitration and then winner addressed our slave address.
 
#define I2C_NO_LINK_RX_ACK   (9)
 We are in Master TX mode and received no ACK from slave device, possibly during start.
 

Detailed Description

These are the values that the NetBurner I2C functions will return.