APM:Libraries
|
#include <AP_Baro_DPS280.h>
Classes | |
struct | dps280_cal |
Public Member Functions | |
AP_Baro_DPS280 (AP_Baro &baro, AP_HAL::OwnPtr< AP_HAL::Device > dev) | |
void | update () |
![]() | |
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) |
Private Member Functions | |
bool | init (void) |
bool | read_calibration (void) |
void | timer (void) |
void | calculate_PT (int32_t UT, int32_t UP, float &pressure, float &temperature) |
void | fix_config_bits16 (int16_t &v, uint8_t bits) const |
void | fix_config_bits32 (int32_t &v, uint8_t bits) const |
Private Attributes | |
AP_HAL::OwnPtr< AP_HAL::Device > | dev |
uint8_t | instance |
uint32_t | count |
float | pressure_sum |
float | temperature_sum |
struct AP_Baro_DPS280::dps280_cal | calibration |
Additional Inherited Members | |
![]() | |
void | _copy_to_frontend (uint8_t instance, float pressure, float temperature) |
virtual void | update_healthy_flag (uint8_t instance) |
![]() | |
AP_Baro & | _frontend |
AP_HAL::Semaphore * | _sem |
float | _mean_pressure |
uint32_t | _error_count |
Definition at line 9 of file AP_Baro_DPS280.h.
AP_Baro_DPS280::AP_Baro_DPS280 | ( | AP_Baro & | baro, |
AP_HAL::OwnPtr< AP_HAL::Device > | dev | ||
) |
Definition at line 42 of file AP_Baro_DPS280.cpp.
Referenced by probe().
|
private |
Definition at line 163 of file AP_Baro_DPS280.cpp.
Referenced by timer().
|
private |
Definition at line 66 of file AP_Baro_DPS280.cpp.
Referenced by read_calibration().
|
private |
Definition at line 76 of file AP_Baro_DPS280.cpp.
Referenced by read_calibration(), and timer().
|
private |
Definition at line 123 of file AP_Baro_DPS280.cpp.
Referenced by probe().
|
static |
Definition at line 48 of file AP_Baro_DPS280.cpp.
Referenced by AP_Baro::init().
|
private |
Definition at line 86 of file AP_Baro_DPS280.cpp.
Referenced by init().
|
private |
Definition at line 184 of file AP_Baro_DPS280.cpp.
Referenced by init().
|
virtual |
Implements AP_Baro_Backend.
Definition at line 222 of file AP_Baro_DPS280.cpp.
|
private |
Referenced by calculate_PT(), init(), and read_calibration().
|
private |
Definition at line 31 of file AP_Baro_DPS280.h.
|
private |
Definition at line 27 of file AP_Baro_DPS280.h.
Referenced by init(), read_calibration(), and timer().
|
private |
Definition at line 29 of file AP_Baro_DPS280.h.
|
private |
Definition at line 32 of file AP_Baro_DPS280.h.
|
private |
Definition at line 33 of file AP_Baro_DPS280.h.