File nut/dev/i2cbus.c


Included Files


Global Function NutI2cBusRate()

long NutI2cBusRate ( NUTI2C_BUS* bus, long rate )
Prototyped in: nut/include/dev/i2cbus.h

Global Function NutI2cBusScan()

int NutI2cBusScan ( NUTI2C_BUS* bus, int first, int last )
Prototyped in: nut/include/dev/i2cbus.h
Calls: NutEventPost(), NutEventWait()

Global Function NutI2cBusTimeout()

uint32_t NutI2cBusTimeout ( NUTI2C_BUS* bus, uint32_t tmo )
Prototyped in: nut/include/dev/i2cbus.h

Global Function NutI2cMasterTransceive()

int NutI2cMasterTransceive ( NUTI2C_SLAVE* slave, const void* wdat, int wlen, void* rdat, int rsiz )
Prototyped in: nut/include/dev/i2cbus.h
Calls: NutEventPost(), NutEventWait()

Global Function NutI2cSlaveAddress()

int NutI2cSlaveAddress ( NUTI2C_SLAVE* slave, int sla )
Prototyped in: nut/include/dev/i2cbus.h

Global Function NutI2cSlaveTimeout()

uint32_t NutI2cSlaveTimeout ( NUTI2C_SLAVE* slave, uint32_t tmo )
Prototyped in: nut/include/dev/i2cbus.h

Global Function NutRegisterI2cSlave()

int NutRegisterI2cSlave ( NUTI2C_SLAVE* slave, NUTI2C_BUS* bus )
Prototyped in: nut/include/dev/i2cbus.h
Calls: NutEventPost()