PX4 Firmware
PX4 Autopilot Software http://px4.io
pmw3901_main.cpp File Reference
#include "PMW3901.hpp"
Include dependency graph for pmw3901_main.cpp:

Go to the source code of this file.

Namespaces

 pmw3901
 Local functions in support of the shell command.
 

Functions

__EXPORT int pmw3901_main (int argc, char *argv[])
 
void pmw3901::start (int spi_bus)
 Start the driver. More...
 
void pmw3901::stop ()
 Stop the driver. More...
 
void pmw3901::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 pmw3901::reset ()
 Reset the driver. More...
 
void pmw3901::info ()
 Print a little info about the driver. More...
 
void pmw3901::usage ()
 Print a little info about how to start/stop/use the driver. More...
 

Variables

PMW3901pmw3901::g_dev
 

Function Documentation

◆ pmw3901_main()

int pmw3901_main ( int  argc,
char *  argv[] 
)

Definition at line 134 of file pmw3901_main.cpp.

References pmw3901::info(), pmw3901::start(), pmw3901::stop(), and pmw3901::usage().

Here is the call graph for this function: