NinjaFlight
|
#include "../config/barometer.h"
Go to the source code of this file.
Data Structures | |
struct | baro |
Macros | |
#define | BARO_SAMPLE_COUNT_MAX 48 |
#define | BARO_MAX BARO_BMP280 |
Enumerations | |
enum | baroSensor_e { BARO_DEFAULT = 0, BARO_NONE = 1, BARO_BMP085 = 2, BARO_MS5611 = 3, BARO_BMP280 = 4 } |
Functions | |
void | baro_init (struct baro *self, const struct config *config) |
bool | baro_is_calibrated (struct baro *self) |
void | baro_start_calibration (struct baro *self) |
uint32_t | baro_update (struct baro *self) |
bool | baro_is_ready (struct baro *self) |
int32_t | baro_calc_altitude (struct baro *self) |
#define BARO_MAX BARO_BMP280 |
#define BARO_SAMPLE_COUNT_MAX 48 |
enum baroSensor_e |
int32_t baro_calc_altitude | ( | struct baro * | self | ) |
bool baro_is_calibrated | ( | struct baro * | self | ) |
bool baro_is_ready | ( | struct baro * | self | ) |
void baro_start_calibration | ( | struct baro * | self | ) |
uint32_t baro_update | ( | struct baro * | self | ) |