|
APM:Libraries
|
#include <AP_Baro_LPS2XH.h>
Public Types | |
| enum | LPS2XH_TYPE { BARO_LPS22H = 0, BARO_LPS25H = 1 } |
Public Member Functions | |
| AP_Baro_LPS2XH (AP_Baro &baro, AP_HAL::OwnPtr< AP_HAL::Device > dev) | |
| void | update () |
Public Member Functions inherited from AP_Baro_Backend | |
| AP_Baro_Backend (AP_Baro &baro) | |
| virtual | ~AP_Baro_Backend (void) |
| virtual void | accumulate (void) |
| virtual void | handle_baro_msg (float pressure, float temperature) |
| void | backend_update (uint8_t instance) |
| bool | pressure_ok (float press) |
| uint32_t | get_error_count () const |
Static Public Member Functions | |
| static AP_Baro_Backend * | probe (AP_Baro &baro, AP_HAL::OwnPtr< AP_HAL::Device > dev) |
| static AP_Baro_Backend * | probe_InvensenseIMU (AP_Baro &baro, AP_HAL::OwnPtr< AP_HAL::Device > dev, uint8_t imu_address) |
Private Member Functions | |
| virtual | ~AP_Baro_LPS2XH (void) |
| bool | _init (void) |
| void | _timer (void) |
| void | _update_temperature (void) |
| void | _update_pressure (void) |
| bool | _imu_i2c_init (uint8_t imu_address) |
| bool | _check_whoami (void) |
Private Attributes | |
| AP_HAL::OwnPtr< AP_HAL::Device > | _dev |
| bool | _has_sample |
| uint8_t | _instance |
| float | _pressure |
| float | _temperature |
| uint32_t | CallTime = 0 |
| enum LPS2XH_TYPE | _lps2xh_type |
Additional Inherited Members | |
Protected Member Functions inherited from AP_Baro_Backend | |
| void | _copy_to_frontend (uint8_t instance, float pressure, float temperature) |
| virtual void | update_healthy_flag (uint8_t instance) |
Protected Attributes inherited from AP_Baro_Backend | |
| AP_Baro & | _frontend |
| AP_HAL::Semaphore * | _sem |
| float | _mean_pressure |
| uint32_t | _error_count |
Definition at line 13 of file AP_Baro_LPS2XH.h.
| Enumerator | |
|---|---|
| BARO_LPS22H | |
| BARO_LPS25H | |
Definition at line 16 of file AP_Baro_LPS2XH.h.
| AP_Baro_LPS2XH::AP_Baro_LPS2XH | ( | AP_Baro & | baro, |
| AP_HAL::OwnPtr< AP_HAL::Device > | dev | ||
| ) |
Definition at line 56 of file AP_Baro_LPS2XH.cpp.
Referenced by probe(), and probe_InvensenseIMU().
|
inlineprivatevirtual |
|
private |
Definition at line 177 of file AP_Baro_LPS2XH.cpp.
Referenced by _init(), and ~AP_Baro_LPS2XH().
|
private |
Definition at line 101 of file AP_Baro_LPS2XH.cpp.
Referenced by probe_InvensenseIMU(), and ~AP_Baro_LPS2XH().
|
private |
Definition at line 132 of file AP_Baro_LPS2XH.cpp.
Referenced by probe(), probe_InvensenseIMU(), and ~AP_Baro_LPS2XH().
|
private |
Definition at line 198 of file AP_Baro_LPS2XH.cpp.
Referenced by _init(), and ~AP_Baro_LPS2XH().
|
private |
Definition at line 238 of file AP_Baro_LPS2XH.cpp.
Referenced by _timer(), and ~AP_Baro_LPS2XH().
|
private |
Definition at line 221 of file AP_Baro_LPS2XH.cpp.
Referenced by _timer(), and ~AP_Baro_LPS2XH().
|
static |
Definition at line 62 of file AP_Baro_LPS2XH.cpp.
Referenced by AP_Baro::init().
|
static |
Definition at line 76 of file AP_Baro_LPS2XH.cpp.
Referenced by AP_Baro::init().
|
virtual |
Implements AP_Baro_Backend.
Definition at line 206 of file AP_Baro_LPS2XH.cpp.
|
private |
Definition at line 40 of file AP_Baro_LPS2XH.h.
Referenced by _check_whoami(), _imu_i2c_init(), _init(), _update_pressure(), and _update_temperature().
|
private |
Definition at line 42 of file AP_Baro_LPS2XH.h.
|
private |
Definition at line 43 of file AP_Baro_LPS2XH.h.
|
private |
Definition at line 49 of file AP_Baro_LPS2XH.h.
Referenced by _check_whoami(), _init(), and _update_temperature().
|
private |
Definition at line 44 of file AP_Baro_LPS2XH.h.
Referenced by _update_pressure(), and update().
|
private |
Definition at line 45 of file AP_Baro_LPS2XH.h.
Referenced by _update_temperature(), and update().
|
private |
Definition at line 47 of file AP_Baro_LPS2XH.h.
Referenced by _init().
1.8.13