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

Driver for the RM3100 magnetometer connected via I2C or SPI. More...

#include "rm3100_main.h"
#include <px4_platform_common/getopt.h>
Include dependency graph for rm3100_main.cpp:

Go to the source code of this file.

Functions

__EXPORT int rm3100_main (int argc, char *argv[])
 Driver 'main' command. More...
 

Detailed Description

Driver for the RM3100 magnetometer connected via I2C or SPI.

Definition in file rm3100_main.cpp.

Function Documentation

◆ rm3100_main()

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

Driver 'main' command.

Definition at line 254 of file rm3100_main.cpp.

References rm3100::info(), rm3100::init(), rm3100::reset(), RM3100_BUS_ALL, RM3100_BUS_I2C_EXTERNAL, RM3100_BUS_I2C_INTERNAL, RM3100_BUS_SPI_EXTERNAL, RM3100_BUS_SPI_INTERNAL, ROTATION_NONE, rm3100::start(), rm3100::stop(), rm3100::test(), and rm3100::usage().

Here is the call graph for this function: