Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/fxls8974cf/
Dfsl_fxls.c109 uint8_t tmp_buff[6] = {0}; in FXLS_ReadAccelData() local
111 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()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/fxos8700cq/
Dfsl_fxos.c178 uint8_t tmp_buff[6] = {0}; in FXOS_ReadSensorData() local
181 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()