Searched refs:ftHandleI2c (Results 1 – 1 of 1) sorted by relevance
/hardware/bsp/intel/peripheral/libmraa/src/usb/ |
D | ftdi_ft4222.c | 46 static FT_HANDLE ftHandleI2c = (FT_HANDLE) NULL; //I2C/SPI Handle variable 110 ftStatus = FT_OpenEx((PVOID)(uintptr_t) locationIdI2c, FT_OPEN_BY_LOCATION, &ftHandleI2c); in mraa_ftdi_ft4222_init() 132 FT4222_STATUS ft4222Status = FT4222_I2CMaster_Init(ftHandleI2c, bus_speed); in mraa_ftdi_ft4222_init() 138 ft4222Status = FT4222_I2CMaster_Reset(ftHandleI2c); in mraa_ftdi_ft4222_init() 158 if (ftHandleI2c != NULL) { in mraa_ftdi_ft4222_get_version() 160 FT4222_STATUS ft4222Status = FT4222_GetVersion(ftHandleI2c, &ft4222Version); in mraa_ftdi_ft4222_get_version() 186 ft4222Status = FT4222_I2CMaster_GetStatus(ftHandleI2c, &controllerStatus); in mraa_ftdi_ft4222_i2c_read_internal() 202 ft4222Status = FT4222_I2CMaster_GetStatus(ftHandleI2c, &controllerStatus); in mraa_ftdi_ft4222_i2c_write_internal() 221 if(mraa_ftdi_ft4222_i2c_read_internal(ftHandleI2c, PCA9672_ADDR, &data, 1) == 1) { in mraa_ftdi_ft4222_detect_io_expander() 251 if(mraa_ftdi_ft4222_i2c_read_internal(ftHandleI2c, PCA9545_ADDR, &data, 1) == 1) { in mraa_ftdi_ft4222_detect_i2c_switch() [all …]
|