Searched refs:I2C_Buffer (Results 1 – 6 of 6) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/ |
D | driver_FXOS8700.c | 175 uint8_t I2C_Buffer[6 * FXOS8700_ACCEL_FIFO_SIZE]; // I2C read buffer in FXOS8700_ReadAccData() local 187 …C_Read(sensor->bus_driver, &sensor->deviceInfo, sensor->addr, FXOS8700_F_STATUS_READ, I2C_Buffer ); in FXOS8700_ReadAccData() 193 sensor_fifo_count = I2C_Buffer[0] & 0x3F; in FXOS8700_ReadAccData() 202 …r_I2C_Read(sensor->bus_driver, &sensor->deviceInfo, sensor->addr, FXOS8700_DATA_READ, I2C_Buffer ); in FXOS8700_ReadAccData() 206 sample[CHX] = (I2C_Buffer[6 * j] << 8) | (I2C_Buffer[6 * j + 1]); // decode X in FXOS8700_ReadAccData() 207 sample[CHY] = (I2C_Buffer[6 * j + 2] << 8) | (I2C_Buffer[6 * j + 3]); // decode Y in FXOS8700_ReadAccData() 208 sample[CHZ] = (I2C_Buffer[6 * j + 4] << 8) | (I2C_Buffer[6 * j + 5]); // decode Z in FXOS8700_ReadAccData() 222 uint8_t I2C_Buffer[6]; // I2C read buffer in FXOS8700_ReadMagData() local 234 …r_I2C_Read(sensor->bus_driver, &sensor->deviceInfo, sensor->addr, FXOS8700_DATA_READ, I2C_Buffer ); in FXOS8700_ReadMagData() 237 sample[CHX] = (I2C_Buffer[0] << 8) | I2C_Buffer[1]; in FXOS8700_ReadMagData() [all …]
|
D | driver_FXAS21002.c | 227 uint8_t I2C_Buffer[6 * FXAS21002_GYRO_FIFO_SIZE]; // I2C read buffer in FXAS21002_Read() local 239 …_Read(sensor->bus_driver, &sensor->deviceInfo, sensor->addr, FXAS21002_F_STATUS_READ, I2C_Buffer ); in FXAS21002_Read() 244 sensor_fifo_count = I2C_Buffer[0] & FXAS21002_F_STATUS_F_CNT_MASK ; in FXAS21002_Read() 265 …_I2C_Read(sensor->bus_driver, &sensor->deviceInfo, sensor->addr, FXAS21002_DATA_READ, I2C_Buffer ); in FXAS21002_Read() 269 sample[CHX] = (I2C_Buffer[0] << 8) | I2C_Buffer[1]; in FXAS21002_Read() 270 sample[CHY] = (I2C_Buffer[2] << 8) | I2C_Buffer[3]; in FXAS21002_Read() 271 sample[CHZ] = (I2C_Buffer[4] << 8) | I2C_Buffer[5]; in FXAS21002_Read() 282 …_I2C_Read(sensor->bus_driver, &sensor->deviceInfo, sensor->addr, FXAS21002_DATA_READ, I2C_Buffer ); in FXAS21002_Read() 287 sample[CHX] = (I2C_Buffer[6*j + 0] << 8) | I2C_Buffer[6*j + 1]; in FXAS21002_Read() 288 sample[CHY] = (I2C_Buffer[6*j + 2] << 8) | I2C_Buffer[6*j + 3]; in FXAS21002_Read() [all …]
|
D | driver_FXLS8962.c | 150 uint8_t I2C_Buffer[6 * FXLS8962_ACCEL_FIFO_SIZE]; // I2C read buffer in FXLS8962_Read() local 161 …Read(sensor->bus_driver, &sensor->deviceInfo, sensor->addr, FXLS8962_INT_STATUS_READ, I2C_Buffer ); in FXLS8962_Read() 163 sensor_data_ready = I2C_Buffer[0] & 0x80; in FXLS8962_Read() 171 …r_I2C_Read(sensor->bus_driver, &sensor->deviceInfo, sensor->addr, FXLS8962_DATA_READ, I2C_Buffer ); in FXLS8962_Read() 175 sample[CHX] = (I2C_Buffer[1] << 8) | I2C_Buffer[0]; in FXLS8962_Read() 176 sample[CHY] = (I2C_Buffer[3] << 8) | I2C_Buffer[2]; in FXLS8962_Read() 177 sample[CHZ] = (I2C_Buffer[5] << 8) | I2C_Buffer[4]; in FXLS8962_Read()
|
D | driver_MMA8652.c | 136 uint8_t I2C_Buffer[6 * MMA8652_ACCEL_FIFO_SIZE]; // I2C read buffer in MMA8652_Read() local 148 …2C_Read(sensor->bus_driver, &sensor->deviceInfo, sensor->addr, MMA8652_F_STATUS_READ, I2C_Buffer ); in MMA8652_Read() 150 sensor_fifo_count = I2C_Buffer[0] & 0x3F; in MMA8652_Read() 160 …or_I2C_Read(sensor->bus_driver, &sensor->deviceInfo, sensor->addr, MMA8652_DATA_READ, I2C_Buffer ); in MMA8652_Read() 165 sample[CHX] = (I2C_Buffer[6 * j ] << 8) | I2C_Buffer[6 * j + 1]; in MMA8652_Read() 166 sample[CHY] = (I2C_Buffer[6 * j + 2] << 8) | I2C_Buffer[6 * j + 3]; in MMA8652_Read() 167 sample[CHZ] = (I2C_Buffer[6 * j + 4] << 8) | I2C_Buffer[6 * j + 5]; in MMA8652_Read()
|
D | driver_MAG3110.c | 115 uint8_t I2C_Buffer[6]; // I2C read buffer in MAG3110_Read() local 124 …or_I2C_Read(sensor->bus_driver, &sensor->deviceInfo, sensor->addr, MAG3110_DATA_READ, I2C_Buffer ); in MAG3110_Read() 125 sample[CHX] = (I2C_Buffer[0] << 8) | I2C_Buffer[1]; in MAG3110_Read() 126 sample[CHY] = (I2C_Buffer[2] << 8) | I2C_Buffer[3]; in MAG3110_Read() 127 sample[CHZ] = (I2C_Buffer[4] << 8) | I2C_Buffer[5]; in MAG3110_Read()
|
D | driver_MPL3115.c | 100 uint8_t I2C_Buffer[6 * MPL3115_ACCEL_FIFO_SIZE]; // I2C read buffer in MPL3115_Read() local 108 …or_I2C_Read(sensor->bus_driver, &sensor->deviceInfo, sensor->addr, MPL3115_DATA_READ, I2C_Buffer ); in MPL3115_Read() 112 sfg->Pressure.iH = (I2C_Buffer[0] << 24) | (I2C_Buffer[1] << 16) | (I2C_Buffer[2] << 8); in MPL3115_Read() 113 sfg->Pressure.iT = (I2C_Buffer[3] << 8) | I2C_Buffer[4]; in MPL3115_Read()
|