Home | History | Annotate | Download | only in mllite

Lines Matching full:pressure

20  * $Id: pressure.c 4120 2010-11-21 19:56:16Z mcaramello $
26 * @brief Motion Library - Pressure Driver Layer.
27 * Provides the interface to setup and handle a pressure sensor
32 * @file pressure.c
33 * @brief Pressure setup and handling methods.
42 #include "pressure.h"
56 #define MPL_LOG_TAG "MPL-pressure"
81 * @brief Is a pressure configured and used by MPL?
82 * @return INV_SUCCESS if the pressure is present.
88 if (NULL != mldl_cfg->pressure &&
89 NULL != mldl_cfg->pressure->resume &&
97 * @brief Query the pressure slave address.
98 * @return The 7-bit pressure slave address.
105 return mldl_cfg->pdata->pressure.address;
111 * @brief Get the ID of the pressure in use.
112 * @return ID of the pressure in use.
118 if (NULL != mldl_cfg->pressure) {
119 return mldl_cfg->pressure->id;
125 * @brief Get a sample of pressure data from the device.
127 * the buffer to store the pressure raw data for
137 /*--- read the pressure sensor data.
138 The pressure read function may return an INV_ERROR_PRESSURE_* errors
142 ignore this pressure data sample. ---*/
152 if (EXT_SLAVE_BIG_ENDIAN == mldl_cfg->pressure->endian)