Home
last modified time | relevance | path

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

/hardware/bsp/intel/peripheral/libupm/src/lsm303d/
Dlsm303d.cxx134 uint8_t status = writeThenRead(STATUS_M); in getCoordinates()
136 coor[X] = (int16_t(writeThenRead(OUT_X_H_M)) << 8) in getCoordinates()
137 | int16_t(writeThenRead(OUT_X_L_M)); in getCoordinates()
138 coor[Y] = (int16_t(writeThenRead(OUT_Y_H_M)) << 8) in getCoordinates()
139 | int16_t(writeThenRead(OUT_Y_L_M)); in getCoordinates()
140 coor[Z] = (int16_t(writeThenRead(OUT_Z_H_M)) << 8) in getCoordinates()
141 | int16_t(writeThenRead(OUT_Z_L_M)); in getCoordinates()
165 LSM303d::writeThenRead(uint8_t reg) in writeThenRead() function in LSM303d
178 accel[X] = (int16_t(writeThenRead(OUT_X_H_A)) << 8) in getAcceleration()
179 | int16_t(writeThenRead(OUT_X_L_A)); in getAcceleration()
[all …]
Dlsm303d.h215 int writeThenRead(uint8_t reg);