|
APM:Libraries
|
#include <AP_Baro_BMP085.h>
Public Member Functions | |
| AP_Baro_BMP085 (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) |
Private Member Functions | |
| bool | _init () |
| void | _cmd_read_pressure () |
| void | _cmd_read_temp () |
| bool | _read_pressure () |
| void | _read_temp () |
| void | _calculate () |
| bool | _data_ready () |
| void | _timer (void) |
| uint16_t | _read_prom_word (uint8_t word) |
| bool | _read_prom (uint16_t *prom) |
Private Attributes | |
| AP_HAL::OwnPtr< AP_HAL::Device > | _dev |
| AP_HAL::DigitalSource * | _eoc |
| uint8_t | _instance |
| bool | _has_sample |
| uint32_t | _last_press_read_command_time |
| uint32_t | _last_temp_read_command_time |
| uint8_t | _state |
| int16_t | ac1 |
| int16_t | ac2 |
| int16_t | ac3 |
| int16_t | b1 |
| int16_t | b2 |
| int16_t | mb |
| int16_t | mc |
| int16_t | md |
| uint16_t | ac4 |
| uint16_t | ac5 |
| uint16_t | ac6 |
| int32_t | _raw_pressure |
| int32_t | _raw_temp |
| int32_t | _temp |
| AverageIntegralFilter< int32_t, int32_t, 10 > | _pressure_filter |
| uint8_t | _vers |
| uint8_t | _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 14 of file AP_Baro_BMP085.h.
| AP_Baro_BMP085::AP_Baro_BMP085 | ( | AP_Baro & | baro, |
| AP_HAL::OwnPtr< AP_HAL::Device > | dev | ||
| ) |
Definition at line 37 of file AP_Baro_BMP085.cpp.
Referenced by probe().
|
private |
Definition at line 275 of file AP_Baro_BMP085.cpp.
Referenced by _timer().
|
private |
Definition at line 221 of file AP_Baro_BMP085.cpp.
Referenced by _timer().
|
private |
Definition at line 252 of file AP_Baro_BMP085.cpp.
Referenced by _init(), and _timer().
|
private |
Definition at line 322 of file AP_Baro_BMP085.cpp.
Referenced by _timer().
|
private |
Definition at line 58 of file AP_Baro_BMP085.cpp.
Referenced by probe().
|
private |
Definition at line 228 of file AP_Baro_BMP085.cpp.
Referenced by _timer().
|
private |
Definition at line 160 of file AP_Baro_BMP085.cpp.
Referenced by _init().
|
private |
Definition at line 150 of file AP_Baro_BMP085.cpp.
Referenced by _read_prom().
|
private |
Definition at line 259 of file AP_Baro_BMP085.cpp.
Referenced by _timer().
|
private |
Definition at line 180 of file AP_Baro_BMP085.cpp.
Referenced by _init().
|
static |
Definition at line 42 of file AP_Baro_BMP085.cpp.
Referenced by AP_Baro::init().
|
virtual |
Implements AP_Baro_Backend.
Definition at line 204 of file AP_Baro_BMP085.cpp.
|
private |
Definition at line 40 of file AP_Baro_BMP085.h.
Referenced by _cmd_read_pressure(), _cmd_read_temp(), _init(), _read_pressure(), _read_prom_word(), and _read_temp().
|
private |
Definition at line 41 of file AP_Baro_BMP085.h.
Referenced by _data_ready(), and _init().
|
private |
Definition at line 44 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and update().
|
private |
Definition at line 43 of file AP_Baro_BMP085.h.
|
private |
Definition at line 47 of file AP_Baro_BMP085.h.
Referenced by _cmd_read_pressure(), _data_ready(), _init(), and _read_pressure().
|
private |
Definition at line 48 of file AP_Baro_BMP085.h.
Referenced by _cmd_read_temp(), _data_ready(), and _init().
|
private |
Definition at line 60 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and update().
|
private |
Definition at line 57 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and _read_pressure().
|
private |
Definition at line 58 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and _read_temp().
|
private |
Definition at line 51 of file AP_Baro_BMP085.h.
Referenced by _data_ready(), _init(), and _timer().
|
private |
Definition at line 59 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and update().
|
private |
Definition at line 63 of file AP_Baro_BMP085.h.
Referenced by _init().
|
private |
Definition at line 62 of file AP_Baro_BMP085.h.
Referenced by _init().
|
private |
Definition at line 54 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and _init().
|
private |
Definition at line 54 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and _init().
|
private |
Definition at line 54 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and _init().
|
private |
Definition at line 55 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and _init().
|
private |
Definition at line 55 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and _init().
|
private |
Definition at line 55 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and _init().
|
private |
Definition at line 54 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and _init().
|
private |
Definition at line 54 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and _init().
|
private |
Definition at line 54 of file AP_Baro_BMP085.h.
Referenced by _init().
|
private |
Definition at line 54 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and _init().
|
private |
Definition at line 54 of file AP_Baro_BMP085.h.
Referenced by _calculate(), and _init().
1.8.13