PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Local functions in support of the shell command. More...
Functions | |
void | start (bool external_bus, enum Rotation rotation, unsigned range) |
Start the driver. More... | |
void | info () |
Print a little info about the driver. More... | |
void | usage () |
Prints info about the driver argument usage. More... | |
Variables | |
LSM303D * | g_dev |
Local functions in support of the shell command.
void lsm303d::info | ( | ) |
Print a little info about the driver.
Definition at line 104 of file lsm303d_main.cpp.
References errx, and LSM303D::print_info().
Referenced by lsm303d_main().
void lsm303d::start | ( | bool | external_bus, |
enum Rotation | rotation, | ||
unsigned | range | ||
) |
Start the driver.
This function call only returns once the driver is up and running or failed to detect the sensor.
Definition at line 62 of file lsm303d_main.cpp.
References errx, g_dev, LSM303D::init(), and OK.
Referenced by lsm303d_main().
void lsm303d::usage | ( | void | ) |
Prints info about the driver argument usage.
Prints info about the driver argument usage.
Definition at line 117 of file lsm303d_main.cpp.
Referenced by lsm303d_main().
LSM303D* lsm303d::g_dev |
Definition at line 49 of file lsm303d_main.cpp.
Referenced by start().