Searched refs:AK8975 (Results 1 – 7 of 7) sorted by relevance
36 AK8975::AK8975(int bus, uint8_t address): in AK8975() function in AK897553 AK8975::~AK8975() in ~AK8975()57 bool AK8975::init() in init()94 bool AK8975::setMode(CNTL_MODES_T mode) in setMode()110 bool AK8975::isReady() in isReady()120 bool AK8975::waitforDeviceReady() in waitforDeviceReady()141 bool AK8975::update(bool selfTest) in update()177 bool AK8975::selfTest() in selfTest()222 float AK8975::adjustValue(float value, float adj) in adjustValue()230 void AK8975::getMagnetometer(float *x, float *y, float *z) in getMagnetometer()
52 class AK8975 {132 AK8975(int bus=AK8975_I2C_BUS, uint8_t address=AK8975_DEFAULT_I2C_ADDR);137 ~AK8975();
123 AK8975* m_mag;
72 m_mag = new AK8975(m_i2cBus, m_magAddress); in init()
46 upm::AK8975 *sensor = new upm::AK8975(); in main()
32 var sensor = new sensorObj.AK8975();
28 sensor = sensorObj.AK8975()