Home | History | Annotate | Download | only in mpl3115a2

Lines Matching refs:MPL3115A2

5  * This application code supports the mpl3115a2 digital barometric pressure
8 * http://cache.freescale.com/files/sensors/doc/data_sheet/MPL3115A2.pdf
35 #include "mpl3115a2.h"
39 MPL3115A2::MPL3115A2 (int bus, int devAddr, uint8_t mode) : m_i2ControlCtx(bus)
73 MPL3115A2::testSensor(void)
114 MPL3115A2::dumpSensor(void)
129 * Function used to soft RESET the MPL3115A2 device to ensure
135 MPL3115A2::resetSensor(void)
137 fprintf(stdout, "Resetting MPL3115A2 device\n" );
147 MPL3115A2::sampleData(void)
185 MPL3115A2::getPressureReg(int reg) {
190 MPL3115A2::getTempReg(int reg) {
195 MPL3115A2::getPressure(int bSampleData) {
212 MPL3115A2::getTemperature(int bSampleData) {
229 MPL3115A2::getSealevelPressure(float altitudeMeters) {
235 MPL3115A2::getAltitude (float sealevelPressure) {
241 MPL3115A2::setOversampling(uint8_t oversampling)
249 MPL3115A2::getOversampling(void)
255 MPL3115A2::getTemperatureMax(void)
261 MPL3115A2::getTemperatureMin(void)
267 MPL3115A2::getPressureMax(void)
273 MPL3115A2::getPressureMin(void)
279 MPL3115A2::convertTempCtoF(float fTemp)
288 MPL3115A2::convertPaToinHg(float fPressure)
298 MPL3115A2::i2cWriteReg (uint8_t reg, uint8_t value) {
312 MPL3115A2::i2cReadReg_16 (int reg) {
323 MPL3115A2::i2cReadReg_8 (int reg) {