PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Lightweight driver to access the BMP280 of the DriverFramework. More...
#include <px4_platform_common/px4_config.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <unistd.h>
#include <px4_platform_common/getopt.h>
#include <errno.h>
#include <perf/perf_counter.h>
#include <systemlib/err.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_baro.h>
#include <board_config.h>
#include <bmp280/BMP280.hpp>
#include <DevMgr.hpp>
Go to the source code of this file.
Classes | |
class | DfBmp280Wrapper |
Namespaces | |
df_bmp280_wrapper | |
Functions | |
__EXPORT int | df_bmp280_wrapper_main (int argc, char *argv[]) |
int | df_bmp280_wrapper::start () |
Attempt to start driver on all available I2C busses. More... | |
int | df_bmp280_wrapper::stop () |
Stop the driver. More... | |
int | df_bmp280_wrapper::info () |
Print a little info about the driver. More... | |
void | df_bmp280_wrapper::usage () |
Prints info about the driver argument usage. More... | |
Variables | |
DfBmp280Wrapper * | df_bmp280_wrapper::g_dev = nullptr |
Lightweight driver to access the BMP280 of the DriverFramework.
Definition in file df_bmp280_wrapper.cpp.
int df_bmp280_wrapper_main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 269 of file df_bmp280_wrapper.cpp.
References df_bmp280_wrapper::info(), df_bmp280_wrapper::start(), df_bmp280_wrapper::stop(), and df_bmp280_wrapper::usage().