Firmware
Classes | Functions | Variables
mpu9250 Namespace Reference

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

Classes

struct  mpu9250_bus_option
 

Functions

void start (enum MPU9250_BUS busid, enum Rotation rotation, bool external, bool magnetometer_only)
 Start the driver. More...
 
bool start_bus (struct mpu9250_bus_option &bus, enum Rotation rotation, bool external, bool magnetometer_only)
 start driver for a specific bus option
 
struct mpu9250_bus_optionfind_bus (enum MPU9250_BUS busid)
 find a bus structure for a busid
 
void stop (enum MPU9250_BUS busid)
 
void reset (enum MPU9250_BUS busid)
 Reset the driver.
 
void info (enum MPU9250_BUS busid)
 Print a little info about the driver.
 
void usage ()
 Prints info about the driver argument usage. More...
 

Variables

struct mpu9250::mpu9250_bus_option bus_options []
 

Detailed Description

Local functions in support of the shell command.

Function Documentation

§ start()

void mpu9250::start ( enum MPU9250_BUS  busid,
enum Rotation  rotation,
bool  external,
bool  magnetometer_only 
)

Start the driver.

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

§ usage()

void mpu9250::usage ( void  )

Prints info about the driver argument usage.

Prints info about the driver argument usage.

Variable Documentation

§ bus_options

struct mpu9250::mpu9250_bus_option mpu9250::bus_options[]
Initial value:
= {
}