Searched refs:tmp_buff (Results 1 – 2 of 2) sorted by relevance
109 uint8_t tmp_buff[6] = {0}; in FXLS_ReadAccelData() local111 if ((FXLS_ReadReg(fxls_handle, OUT_X_LSB_REG, tmp_buff, 6)) != kStatus_Success) in FXLS_ReadAccelData()118 … accelData->accelX = (int16_t)(uint16_t)(((uint16_t)tmp_buff[1] << 8) | (uint16_t)tmp_buff[0]); in FXLS_ReadAccelData()119 … accelData->accelY = (int16_t)(uint16_t)(((uint16_t)tmp_buff[3] << 8) | (uint16_t)tmp_buff[2]); in FXLS_ReadAccelData()120 … accelData->accelZ = (int16_t)(uint16_t)(((uint16_t)tmp_buff[5] << 8) | (uint16_t)tmp_buff[4]); in FXLS_ReadAccelData()
178 uint8_t tmp_buff[6] = {0}; in FXOS_ReadSensorData() local181 if ((FXOS_ReadReg(fxos_handle, OUT_X_MSB_REG, tmp_buff, 6)) != kStatus_Success) in FXOS_ReadSensorData()188 ((uint8_t *)sensorData)[i] = tmp_buff[i]; in FXOS_ReadSensorData()191 if ((FXOS_ReadReg(fxos_handle, M_OUT_X_MSB_REG, tmp_buff, 6)) != kStatus_Success) in FXOS_ReadSensorData()198 ((uint8_t *)sensorData)[i + 6U] = tmp_buff[i]; in FXOS_ReadSensorData()