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

Functions

int start ()
 Attempt to start driver on all available I2C busses. More...
 
int stop ()
 Stop the driver. More...
 
int info ()
 Print a little info about the driver. More...
 
void usage ()
 Prints info about the driver argument usage. More...
 

Variables

DfMS5611Wrapperg_dev = nullptr
 

Function Documentation

◆ info()

int df_ms5611_wrapper::info ( )

Print a little info about the driver.

Definition at line 241 of file df_ms5611_wrapper.cpp.

Referenced by df_ms5611_wrapper_main().

Here is the caller graph for this function:

◆ start()

int df_ms5611_wrapper::start ( )

Attempt to start driver on all available I2C busses.

This function will return as soon as the first sensor is detected on one of the available busses or if no sensors are detected.

Definition at line 187 of file df_ms5611_wrapper.cpp.

References DfMS5611Wrapper::DfMS5611Wrapper(), and DfMS5611Wrapper::start().

Referenced by df_ms5611_wrapper_main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stop()

int df_ms5611_wrapper::stop ( )

Stop the driver.

Stop the driver.

Definition at line 218 of file df_ms5611_wrapper.cpp.

References g_dev, and DfMS5611Wrapper::stop().

Referenced by df_ms5611_wrapper_main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ usage()

void df_ms5611_wrapper::usage ( void  )

Prints info about the driver argument usage.

Prints info about the driver argument usage.

Definition at line 254 of file df_ms5611_wrapper.cpp.

Referenced by df_ms5611_wrapper_main().

Here is the caller graph for this function:

Variable Documentation

◆ g_dev

DfMS5611Wrapper* df_ms5611_wrapper::g_dev = nullptr

Definition at line 180 of file df_ms5611_wrapper.cpp.

Referenced by stop().