PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Local functions in support of the shell command. More...
Functions | |
void | start (int spi_bus) |
Start the driver. More... | |
void | stop () |
Stop the driver. More... | |
void | test () |
Perform some basic functional tests on the driver; make sure we can collect data from the sensor in polled and automatic modes. More... | |
void | reset () |
Reset the driver. More... | |
void | info () |
Print a little info about the driver. More... | |
void | usage () |
Print a little info about how to start/stop/use the driver. More... | |
Variables | |
PAW3902 * | g_dev |
Local functions in support of the shell command.
void pmw3902::info | ( | ) |
Print a little info about the driver.
Definition at line 105 of file paw3902_main.cpp.
References errx, and PAW3902::print_info().
Referenced by paw3902_main().
void pmw3902::reset | ( | ) |
Reset the driver.
Definition at line 319 of file ets_airspeed.cpp.
void pmw3902::start | ( | int | spi_bus | ) |
Start the driver.
Definition at line 56 of file paw3902_main.cpp.
References errx, g_dev, PAW3902::init(), and OK.
Referenced by paw3902_main().
void pmw3902::stop | ( | ) |
Stop the driver.
Stop the driver.
Definition at line 88 of file paw3902_main.cpp.
Referenced by paw3902_main().
void pmw3902::test | ( | ) |
Perform some basic functional tests on the driver; make sure we can collect data from the sensor in polled and automatic modes.
Definition at line 554 of file mb12xx.cpp.
void pmw3902::usage | ( | void | ) |
Print a little info about how to start/stop/use the driver.
Prints info about the driver argument usage.
Definition at line 120 of file paw3902_main.cpp.
References paw3902_main().
Referenced by paw3902_main().
PAW3902* pmw3902::g_dev |
Definition at line 42 of file paw3902_main.cpp.