PX4 Firmware
PX4 Autopilot Software http://px4.io
df_ms5611_wrapper.cpp File Reference

Lightweight driver to access the MS5611 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_baro.h>
#include <drivers/drv_hrt.h>
#include <board_config.h>
#include <ms5611/MS5611.hpp>
#include <DevMgr.hpp>
Include dependency graph for df_ms5611_wrapper.cpp:

Go to the source code of this file.

Classes

class  DfMS5611Wrapper
 

Namespaces

 df_ms5611_wrapper
 

Functions

__EXPORT int df_ms5611_wrapper_main (int argc, char *argv[])
 
int df_ms5611_wrapper::start ()
 Attempt to start driver on all available I2C busses. More...
 
int df_ms5611_wrapper::stop ()
 Stop the driver. More...
 
int df_ms5611_wrapper::info ()
 Print a little info about the driver. More...
 
void df_ms5611_wrapper::usage ()
 Prints info about the driver argument usage. More...
 

Variables

DfMS5611Wrapperdf_ms5611_wrapper::g_dev = nullptr
 

Detailed Description

Lightweight driver to access the MS5611 of the DriverFramework.

Definition in file df_ms5611_wrapper.cpp.

Function Documentation

◆ df_ms5611_wrapper_main()

int df_ms5611_wrapper_main ( int  argc,
char *  argv[] 
)

Definition at line 263 of file df_ms5611_wrapper.cpp.

References df_ms5611_wrapper::info(), df_ms5611_wrapper::start(), df_ms5611_wrapper::stop(), and df_ms5611_wrapper::usage().

Here is the call graph for this function: