Searched refs:cocoBuffer (Results 1 – 2 of 2) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/sensors/ |
D | sensor_io_i2c.c | 32 uint8_t cocoBuffer[2] = {0}; in Sensor_I2C_BlockWrite() local 54 … status = Register_I2C_Read(pCommDrv, devInfo, slaveAddress, 0, sizeof(cocoBuffer), cocoBuffer); in Sensor_I2C_BlockWrite() 59 commandComplete = cocoBuffer[1] & 0x80; in Sensor_I2C_BlockWrite() 60 if (commandComplete && cocoBuffer[1] & error_mask) in Sensor_I2C_BlockWrite()
|
D | sensor_io_spi.c | 32 uint8_t cocoBuffer[2] = {0}; in Sensor_SPI_BlockWrite() local 54 … status = Register_SPI_Read(pCommDrv, devInfo, pWriteParams, 0, sizeof(cocoBuffer), cocoBuffer); in Sensor_SPI_BlockWrite() 59 commandComplete = cocoBuffer[1] & 0x80; in Sensor_SPI_BlockWrite() 60 if (commandComplete && cocoBuffer[1] & error_mask) in Sensor_SPI_BlockWrite()
|