PX4 Firmware
PX4 Autopilot Software http://px4.io
bmm150.cpp File Reference

Driver for the Bosch BMM 150 MEMS magnetometer connected via I2C. More...

#include "bmm150.hpp"
#include <px4_platform_common/getopt.h>
Include dependency graph for bmm150.cpp:

Go to the source code of this file.

Namespaces

 bmm150
 

Functions

__EXPORT int bmm150_main (int argc, char *argv[])
 driver 'main' command More...
 
void bmm150::start (bool external_bus, enum Rotation rotation)
 Start the driver. More...
 
void bmm150::test (bool)
 
void bmm150::reset (bool)
 
void bmm150::info (bool)
 
void bmm150::regdump (bool external_bus)
 Dump the register information. More...
 
void bmm150::usage ()
 Prints info about the driver argument usage. More...
 

Variables

BMM150bmm150::g_dev_ext
 
BMM150bmm150::g_dev_int
 

Detailed Description

Driver for the Bosch BMM 150 MEMS magnetometer connected via I2C.

Definition in file bmm150.cpp.

Function Documentation

◆ bmm150_main()

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

driver 'main' command

Definition at line 1065 of file bmm150.cpp.

References bmm150::info(), bmm150::regdump(), bmm150::reset(), ROTATION_NONE, bmm150::start(), bmm150::test(), and bmm150::usage().

Here is the call graph for this function: