Firmware
Functions | Variables
pmw3901 Namespace Reference

Local functions in support of the shell command. More...

Functions

void start (int spi_bus)
 Start the driver.
 
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.
 
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

PMW3901g_dev
 

Detailed Description

Local functions in support of the shell command.

Function Documentation

§ info()

void pmw3901::info ( )

Print a little info about the driver.

Print a little info about the driver.

§ reset()

void pmw3901::reset ( )

Reset the driver.

Reset the driver.

§ stop()

void pmw3901::stop ( )

Stop the driver.

Stop the driver.

§ usage()

void pmw3901::usage ( void  )

Print a little info about how to start/stop/use the driver.

Prints info about the driver argument usage.