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

Lightweight driver to access the MS5607 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 <ms5607/MS5607.hpp>
#include <DevMgr.hpp>
Include dependency graph for df_ms5607_wrapper.cpp:

Go to the source code of this file.

Classes

class  DfMS5607Wrapper
 

Namespaces

 df_ms5607_wrapper
 

Functions

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

Variables

DfMS5607Wrapperdf_ms5607_wrapper::g_dev = nullptr
 

Detailed Description

Lightweight driver to access the MS5607 of the DriverFramework.

Definition in file df_ms5607_wrapper.cpp.

Function Documentation

◆ df_ms5607_wrapper_main()

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

Definition at line 263 of file df_ms5607_wrapper.cpp.

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

Here is the call graph for this function: