Searched refs:MPL3115A2 (Results 1 – 4 of 4) sorted by relevance
39 MPL3115A2::MPL3115A2 (int bus, int devAddr, uint8_t mode) : m_i2ControlCtx(bus) in MPL3115A2() function in MPL3115A273 MPL3115A2::testSensor(void) in testSensor()114 MPL3115A2::dumpSensor(void) in dumpSensor()135 MPL3115A2::resetSensor(void) in resetSensor()147 MPL3115A2::sampleData(void) in sampleData()185 MPL3115A2::getPressureReg(int reg) { in getPressureReg()190 MPL3115A2::getTempReg(int reg) { in getTempReg()195 MPL3115A2::getPressure(int bSampleData) { in getPressure()212 MPL3115A2::getTemperature(int bSampleData) { in getTemperature()229 MPL3115A2::getSealevelPressure(float altitudeMeters) { in getSealevelPressure()[all …]
82 class MPL3115A2 {91 MPL3115A2(int bus, int devAddr=MPL3115A2_I2C_ADDRESS, uint8_t mode=6);
40 upm_mpl3115a2.MPL3115A2 sensor = new upm_mpl3115a2.MPL3115A2(0); in main()
33 upm::MPL3115A2 *sensor = NULL;56 sensor = new upm::MPL3115A2(0, MPL3115A2_I2C_ADDRESS); in main()