PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Driver for the RM3100 magnetometer connected via I2C or SPI. More...
Go to the source code of this file.
Functions | |
__EXPORT int | rm3100_main (int argc, char *argv[]) |
Driver 'main' command. More... | |
Driver for the RM3100 magnetometer connected via I2C or SPI.
Definition in file rm3100_main.cpp.
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().