PX4 Firmware
PX4 Autopilot Software http://px4.io
bmi160_main.cpp File Reference
#include "bmi160.hpp"
Include dependency graph for bmi160_main.cpp:

Go to the source code of this file.

Namespaces

 bmi160
 Local functions in support of the shell command.
 

Functions

__EXPORT int bmi160_main (int argc, char *argv[])
 driver 'main' command More...
 
void bmi160::start (bool external_bus, enum Rotation rotation)
 Start the driver. More...
 
void bmi160::stop (bool)
 
void bmi160::info (bool external_bus)
 Print a little info about the driver. More...
 
void bmi160::regdump (bool external_bus)
 Dump the register information. More...
 
void bmi160::testerror (bool external_bus)
 deliberately produce an error to test recovery More...
 
void bmi160::usage ()
 Prints info about the driver argument usage. More...
 

Variables

BMI160bmi160::g_dev_int
 
BMI160bmi160::g_dev_ext
 

Function Documentation

◆ bmi160_main()

int bmi160_main ( int  argc,
char *  argv[] 
)

driver 'main' command

Definition at line 191 of file bmi160_main.cpp.

References bmi160::info(), bmi160::regdump(), ROTATION_NONE, bmi160::start(), bmi160::stop(), bmi160::testerror(), and bmi160::usage().

Here is the call graph for this function: