public interface FCOIIPI2CDeviceEvent extends FCOIDeviceEvent
Modifier and Type | Field and Description |
---|---|
static int |
nBADACK
I2C communication gets a bad acknowledge from a slave.
|
static int |
nNOTREADY
I2C communication is not ready.
|
static int |
nOK
I2C communication is running well.
|
static int |
nTIMEOUT
I2C communication timed out.
|
static int |
nTOOLONG
I2C communication tried a too long packet.
|
static int |
nUNKNOWN
I2C communication state is unknown.
|
Modifier and Type | Method and Description |
---|---|
void |
comI2CEvtOccured(FCOCIPI2CDevice Source,
java.lang.String szI2CDeviceName,
int nCause)
Callback for any I2C communication state event.
|
autoreadRegAddedToQueue, comDevEvtOccured, dataDevEvtOccured, interfaceInfoReceived
static final int nOK
I2C communication is running well.
static final int nNOTREADY
I2C communication is not ready.
static final int nTIMEOUT
I2C communication timed out. Check bus and slaves.
static final int nTOOLONG
I2C communication tried a too long packet.
static final int nBADACK
I2C communication gets a bad acknowledge from a slave.
static final int nUNKNOWN
I2C communication state is unknown.
void comI2CEvtOccured(FCOCIPI2CDevice Source, java.lang.String szI2CDeviceName, int nCause)
Callback for any I2C communication state event.
Source
- Caller objectszI2CDeviceName
- Name of I2C device (useful if several I2C devices are used together)nCause
- Cause of event