|
Firmware
|
Local functions in support of the shell command. More...
Functions | |
| void | start (bool external_bus, enum Rotation rotation) |
| Start 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 | regdump () |
| dump registers from device | |
| void | usage () |
| Prints info about the driver argument usage. More... | |
| void | test_error () |
| trigger an error | |
Variables | |
| FXAS21002C * | g_dev |
Local functions in support of the shell command.
| void fxas21002c::info | ( | ) |
Print a little info about the driver.
Print a little info about the driver.
| void fxas21002c::reset | ( | ) |
Reset the driver.
Reset the driver.
| void fxas21002c::start | ( | bool | external_bus, |
| enum Rotation | rotation | ||
| ) |
Start the driver.
This function call only returns once the driver is up and running or failed to detect the sensor.
| void fxas21002c::usage | ( | void | ) |
Prints info about the driver argument usage.
Prints info about the driver argument usage.
1.8.12