Firmware
Classes | Functions | Variables
mpu6000 Namespace Reference

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

Classes

struct  mpu6000_bus_option
 

Functions

void start (enum MPU6000_BUS busid, enum Rotation rotation, int device_type)
 Start the driver. More...
 
bool start_bus (struct mpu6000_bus_option &bus, enum Rotation rotation, int device_type)
 start driver for a specific bus option
 
void stop (enum MPU6000_BUS busid)
 
void reset (enum MPU6000_BUS busid)
 Reset the driver.
 
void info (enum MPU6000_BUS busid)
 Print a little info about the driver.
 
void regdump (enum MPU6000_BUS busid)
 Dump the register information.
 
void testerror (enum MPU6000_BUS busid)
 deliberately produce an error to test recovery
 
void factorytest (enum MPU6000_BUS busid)
 Dump the register information.
 
void usage ()
 Prints info about the driver argument usage. More...
 

Variables

struct mpu6000::mpu6000_bus_option bus_options []
 

Detailed Description

Local functions in support of the shell command.

Function Documentation

§ start()

void mpu6000::start ( enum MPU6000_BUS  busid,
enum Rotation  rotation,
int  device_type 
)

Start the driver.

This function only returns if the driver is up and running or failed to detect the sensor.

§ usage()

void mpu6000::usage ( void  )

Prints info about the driver argument usage.

Prints info about the driver argument usage.