Home
last modified time | relevance | path

Searched refs:ft4222Status (Results 1 – 1 of 1) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/src/usb/
Dftdi_ft4222.c132 FT4222_STATUS ft4222Status = FT4222_I2CMaster_Init(ftHandleI2c, bus_speed); in mraa_ftdi_ft4222_init() local
133 if (FT4222_OK != ft4222Status) { in mraa_ftdi_ft4222_init()
134 syslog(LOG_ERR, "FT4222_I2CMaster_Init failed (error %d)!\n", ft4222Status); in mraa_ftdi_ft4222_init()
138 ft4222Status = FT4222_I2CMaster_Reset(ftHandleI2c); in mraa_ftdi_ft4222_init()
139 if (FT4222_OK != ft4222Status) { in mraa_ftdi_ft4222_init()
140 syslog(LOG_ERR, "FT4222_I2CMaster_Reset failed (error %d)!\n", ft4222Status); in mraa_ftdi_ft4222_init()
160 FT4222_STATUS ft4222Status = FT4222_GetVersion(ftHandleI2c, &ft4222Version); in mraa_ftdi_ft4222_get_version() local
161 if (FT4222_OK == ft4222Status) { in mraa_ftdi_ft4222_get_version()
167 syslog(LOG_ERR, "FT4222_GetVersion failed (error %d)\n", (int) ft4222Status); in mraa_ftdi_ft4222_get_version()
185 FT4222_STATUS ft4222Status = FT4222_I2CMaster_Read(handle, addr, data, length, &bytesRead); in mraa_ftdi_ft4222_i2c_read_internal() local
[all …]