PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Driver for the LIS3MDL magnetometer connected via I2C or SPI. More...
Go to the source code of this file.
Functions | |
__EXPORT int | lis3mdl_main (int argc, char *argv[]) |
Driver 'main' command. More... | |
Driver for the LIS3MDL magnetometer connected via I2C or SPI.
Definition in file lis3mdl_main.cpp.
int lis3mdl_main | ( | int | argc, |
char * | argv[] | ||
) |
Driver 'main' command.
Definition at line 271 of file lis3mdl_main.cpp.
References lis3mdl::bus_options, lis3mdl::calibrate(), hmc5883::calibrate(), lis3mdl::info(), lis3mdl::init(), LIS3MDL_BUS_ALL, LIS3MDL_BUS_I2C_EXTERNAL, LIS3MDL_BUS_I2C_INTERNAL, LIS3MDL_BUS_SPI, NUM_BUS_OPTIONS, OK, lis3mdl::reset(), ROTATION_NONE, lis3mdl::start(), lis3mdl::stop(), lis3mdl::test(), and lis3mdl::usage().