PX4 Firmware
PX4 Autopilot Software http://px4.io
lis3mdl_main.h File Reference
#include "lis3mdl.h"
Include dependency graph for lis3mdl_main.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  lis3mdl::lis3mdl_bus_option
 

Namespaces

 lis3mdl
 

Functions

int lis3mdl::calibrate (struct lis3mdl_bus_option &bus)
 Calibrate and self test. More...
 
int lis3mdl::info (struct lis3mdl_bus_option &bus)
 Prints info about the driver. More...
 
int lis3mdl::init (struct lis3mdl_bus_option &bus)
 Initializes the driver – sets defaults and starts a cycle. More...
 
int lis3mdl::reset (struct lis3mdl_bus_option &bus)
 Resets the driver. More...
 
int lis3mdl::start_bus (struct lis3mdl_bus_option &bus, Rotation rotation)
 Starts the driver for a specific bus option. More...
 
int lis3mdl::start (struct lis3mdl_bus_option &bus, Rotation rotation)
 Starts the driver. More...
 
int lis3mdl::stop (struct lis3mdl_bus_option &bus)
 Stop the driver. More...
 
int lis3mdl::test (struct lis3mdl_bus_option &bus)
 Perform some basic functional tests on the driver; make sure we can collect data from the sensor in polled and automatic modes. More...
 
void lis3mdl::usage ()
 Prints info about the driver argument usage. More...
 

Variables

struct lis3mdl::lis3mdl_bus_option lis3mdl::bus_options []