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

Functions

int start (enum Rotation rotation, const char *path)
 
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

DfHmc5883Wrapperg_dev = nullptr
 

Function Documentation

◆ info()

int df_hmc5883_wrapper::info ( )

Print a little info about the driver.

Definition at line 386 of file df_hmc5883_wrapper.cpp.

Referenced by df_hmc5883_wrapper_main().

Here is the caller graph for this function:

◆ start()

int df_hmc5883_wrapper::start ( enum Rotation  rotation,
const char *  path 
)

Definition at line 332 of file df_hmc5883_wrapper.cpp.

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

Referenced by df_hmc5883_wrapper_main().

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

◆ stop()

int df_hmc5883_wrapper::stop ( )

Stop the driver.

Stop the driver.

Definition at line 363 of file df_hmc5883_wrapper.cpp.

References g_dev, and DfHmc5883Wrapper::stop().

Referenced by df_hmc5883_wrapper_main().

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

◆ usage()

void df_hmc5883_wrapper::usage ( void  )

Prints info about the driver argument usage.

Prints info about the driver argument usage.

Definition at line 399 of file df_hmc5883_wrapper.cpp.

Referenced by df_hmc5883_wrapper_main().

Here is the caller graph for this function:

Variable Documentation

◆ g_dev

DfHmc5883Wrapper* df_hmc5883_wrapper::g_dev = nullptr

Definition at line 325 of file df_hmc5883_wrapper.cpp.

Referenced by stop().