|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
I2C interface for LPS25H barometer. More...
#include "std.h"#include "math/pprz_algebra_int.h"#include "mcu_periph/i2c.h"#include "peripherals/lps25h.h"
Include dependency graph for lps25h_i2c.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | Lps25h_I2c |
Functions | |
| void | lps25h_i2c_init (struct Lps25h_I2c *lps, struct i2c_periph *i2c_p, uint8_t addr) |
| void | lps25h_i2c_start_configure (struct Lps25h_I2c *lps) |
| void | lps25h_i2c_read (struct Lps25h_I2c *lps) |
| void | lps25h_i2c_event (struct Lps25h_I2c *lps) |
| float | lps25h_readPressureMillibars (int32_t press) |
| float | pressureToAltMeters (float pressure_mbar, float altimeter_setting_mbar) |
| static void | lps25h_i2c_periodic (struct Lps25h_I2c *lps) |
I2C interface for LPS25H barometer.
Definition in file lps25h_i2c.h.
| struct Lps25h_I2c |
Definition at line 38 of file lps25h_i2c.h.
Collaboration diagram for Lps25h_I2c:| Data Fields | ||
|---|---|---|
| struct Lps25hConfig | config | |
| int32_t | data | |
| volatile bool | data_available | data ready flag |
| struct i2c_periph * | i2c_p | |
| struct i2c_transaction | i2c_trans | |
| enum Lps25hConfStatus | init_status | init status |
| bool | initialized | config done flag |
|
extern |
Definition at line 110 of file lps25h_i2c.c.
References foo, I2CTransDone, I2CTransFailed, I2CTransSuccess, Int32FromBuf, LPS25H_CONF_UNINIT, and lps25h_i2c_send_config().
Here is the call graph for this function:
|
extern |
Definition at line 33 of file lps25h_i2c.c.
References foo, I2CTransDone, LPS25H_CONF_UNINIT, lps25h_set_default_config(), and i2c_periph::status.
Here is the call graph for this function:
|
inlinestatic |
Definition at line 57 of file lps25h_i2c.h.
References foo, lps25h_i2c_read(), and lps25h_i2c_start_configure().
Here is the call graph for this function:
|
extern |
Definition at line 87 of file lps25h_i2c.c.
References foo, i2c_submit(), I2CTransDone, I2CTransTxRx, and LPS25H_REG_OUT_XL.
Referenced by lps25h_i2c_periodic().
Here is the call graph for this function:
Here is the caller graph for this function:
|
extern |
Definition at line 76 of file lps25h_i2c.c.
References foo, I2CTransDone, I2CTransSuccess, LPS25H_CONF_UNINIT, and lps25h_i2c_send_config().
Referenced by lps25h_i2c_periodic().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 101 of file lps25h_i2c.c.
References foo.