|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Driver for the ST LSM303D MEMS accelerometer / magnetometer connected via SPI. More...
Go to the source code of this file.
Namespaces | |
| lsm303d | |
| Local functions in support of the shell command. | |
Functions | |
| void | lsm303d::start (bool external_bus, enum Rotation rotation, unsigned range) |
| Start the driver. More... | |
| void | lsm303d::info () |
| Print a little info about the driver. More... | |
| void | lsm303d::usage () |
| Prints info about the driver argument usage. More... | |
| int | lsm303d_main (int argc, char *argv[]) |
Variables | |
| LSM303D * | lsm303d::g_dev |
Driver for the ST LSM303D MEMS accelerometer / magnetometer connected via SPI.
Definition in file lsm303d_main.cpp.
| int lsm303d_main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 128 of file lsm303d_main.cpp.
References errx, lsm303d::info(), ROTATION_NONE, lsm303d::start(), and lsm303d::usage().