Firmware
Functions | Variables
fxas21002c Namespace Reference

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

FXAS21002Cg_dev
 

Detailed Description

Local functions in support of the shell command.

Function Documentation

§ info()

void fxas21002c::info ( )

Print a little info about the driver.

Print a little info about the driver.

§ reset()

void fxas21002c::reset ( )

Reset the driver.

Reset the driver.

§ start()

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.

§ usage()

void fxas21002c::usage ( void  )

Prints info about the driver argument usage.

Prints info about the driver argument usage.