Home
last modified time | relevance | path

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

/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/
DAKFS_AK8975.c27 const uint8vec* asa, in AKFS_DecompAK8975() argument
39 hdata[0].u.x = mag[0] * (((asa->u.x)/256.0f) + 0.5f); in AKFS_DecompAK8975()
40 hdata[0].u.y = mag[1] * (((asa->u.y)/256.0f) + 0.5f); in AKFS_DecompAK8975()
41 hdata[0].u.z = mag[2] * (((asa->u.z)/256.0f) + 0.5f); in AKFS_DecompAK8975()
DAKFS_AK8975.h32 #define AK8975_HDATA_CONVERTER(hi, low, asa) \ argument
33 (AKFLOAT)((int16)((((uint16)(hi))<<8)+(uint16)(low))*(((asa)/256.0f) + 0.5f))
44 const uint8vec* asa,
/hardware/akm/AK8975_FS/akmdfs/
DAKFS_Measure.c72 BYTE asa[3]; in AKFS_SelfTest() local
83 if (AKD_RxData(AK8975_FUSE_ASAX, asa, 3) != 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()