Home
last modified time | relevance | path

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

/hardware/akm/AK8975_FS/akmdfs/
DAKFS_Measure.c71 BYTE i2cData[SENSOR_DATA_SIZE]; in AKFS_SelfTest() local
95 i2cData[0] = 0x40; in AKFS_SelfTest()
96 if (AKD_TxData(AK8975_REG_ASTC, i2cData, 1) != AKD_SUCCESS) { in AKFS_SelfTest()
111 if (AKD_GetMagneticData(i2cData) != AKD_SUCCESS) { in AKFS_SelfTest()
116 hdata[0] = AK8975_HDATA_CONVERTER(i2cData[2], i2cData[1], asa[0]); in AKFS_SelfTest()
117 hdata[1] = AK8975_HDATA_CONVERTER(i2cData[4], i2cData[3], asa[1]); in AKFS_SelfTest()
118 hdata[2] = AK8975_HDATA_CONVERTER(i2cData[6], i2cData[5], asa[2]); in AKFS_SelfTest()
271 BYTE i2cData[SENSOR_DATA_SIZE]; /* ST1 ~ ST2 */ in AKFS_MeasureLoop() local
338 if (AKD_GetMagneticData(i2cData) != AKD_SUCCESS) { in AKFS_MeasureLoop()
343 mag[0] = (int)((int16_t)(i2cData[2]<<8)+((int16_t)i2cData[1])); in AKFS_MeasureLoop()
[all …]