![]() |
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Driver for MPL3115A2 baro sensor. More...
Go to the source code of this file.
Functions | |
void | mpl3115_init (struct Mpl3115 *mpl, struct i2c_periph *i2c_p, uint8_t addr) |
static void | mpl3115_send_config (struct Mpl3115 *mpl) |
void | mpl3115_configure (struct Mpl3115 *mpl) |
void | mpl3115_read (struct Mpl3115 *mpl) |
void | mpl3115_event (struct Mpl3115 *mpl) |
void | mpl3115_periodic (struct Mpl3115 *mpl) |
Driver for MPL3115A2 baro sensor.
Definition in file mpl3115.c.
Definition at line 81 of file mpl3115.c.
References foo, I2CTransDone, I2CTransSuccess, mpl3115_send_config(), and MPL_CONF_UNINIT.
Referenced by mpl3115_periodic().
Definition at line 107 of file mpl3115.c.
References foo, I2CTransDone, I2CTransFailed, I2CTransSuccess, mpl3115_send_config(), and MPL_CONF_UNINIT.
Referenced by apogee_baro_event(), and baro_mpl3115_read_event().
void mpl3115_init | ( | struct Mpl3115 * | mpl, |
struct i2c_periph * | i2c_p, | ||
uint8_t | addr | ||
) |
Definition at line 31 of file mpl3115.c.
References foo, I2CTransDone, MPL_CONF_UNINIT, i2c_transaction::slave_addr, and i2c_periph::trans.
Referenced by baro_init(), and baro_mpl3115_init().
Definition at line 153 of file mpl3115.c.
References foo, mpl3115_configure(), and mpl3115_read().
Referenced by baro_mpl3115_read_periodic(), and baro_periodic().
Definition at line 92 of file mpl3115.c.
References foo, i2c_transceive(), i2c_transmit(), I2CTransDone, MPL3115_OST_BIT, MPL3115_OVERSAMPLING, MPL3115_REG_CTRL_REG1, and MPL3115_REG_STATUS.
Referenced by mpl3115_periodic().
Definition at line 55 of file mpl3115.c.
References foo, i2c_transmit(), I2CTransDone, MPL3115_OVERSAMPLING, MPL3115_PT_DATA_CFG, MPL3115_REG_CTRL_REG1, MPL3115_REG_PT_DATA_CFG, MPL_CONF_CTRL1, MPL_CONF_DONE, and MPL_CONF_PT_DATA.
Referenced by mpl3115_configure(), and mpl3115_event().