ChibiOS/HAL
6.1.0
|
Generic barometer interface header. More...
#include "hal_sensors.h"
Go to the source code of this file.
Data Structures | |
struct | BaseBarometerVMT |
BaseBarometer virtual methods table. More... | |
struct | BaseBarometer |
Base barometer class. More... | |
Macros | |
#define | _base_barometer_methods_alone |
BaseBarometer specific methods. More... | |
#define | _base_barometer_methods |
BaseBarometer specific methods with inherited ones. More... | |
#define | _base_barometer_data _base_sensor_data |
BaseBarometer specific data. More... | |
Macro Functions (BaseBarometer) | |
#define | barometerGetChannelsNumber(ip) (ip)->vmt->get_channels_number(ip) |
Barometer get channels number. More... | |
#define | barometerReadRaw(ip, dp) (ip)->vmt->read_raw(ip, dp) |
Barometer read raw data. More... | |
#define | barometerReadCooked(ip, dp) (ip)->vmt->read_cooked(ip, dp) |
Barometer read cooked data. More... | |
#define | barometerSetBias(ip, bp) (ip)->vmt->set_bias(ip, bp) |
Updates barometer bias data from received buffer. More... | |
#define | barometerResetBias(ip) (ip)->vmt->reset_bias(ip) |
Reset barometer bias data restoring it to zero. More... | |
#define | barometerSetSensitivity(ip, sp) (ip)->vmt->set_sensitivity(ip, sp) |
Updates barometer sensitivity data from received buffer. More... | |
#define | barometerResetSensitivity(ip) (ip)->vmt->reset_sensitivity(ip) |
Reset barometer sensitivity data restoring it to its typical value. More... | |
Generic barometer interface header.
Definition in file hal_barometer.h.