|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include "LPS22HB.hpp"Go to the source code of this file.
Classes | |
| struct | lps22hb::lps22hb_bus_option |
Namespaces | |
| lps22hb | |
| Local functions in support of the shell command. | |
Macros | |
| #define | NUM_BUS_OPTIONS (sizeof(bus_options)/sizeof(bus_options[0])) |
Enumerations | |
| enum | LPS22HB_BUS { LPS22HB_BUS_ALL = 0, LPS22HB_BUS_I2C_INTERNAL, LPS22HB_BUS_I2C_EXTERNAL, LPS22HB_BUS_SPI } |
Functions | |
| __EXPORT int | lps22hb_main (int argc, char *argv[]) |
| int | lps22hb::start (enum LPS22HB_BUS busid) |
| Start the driver. More... | |
| bool | lps22hb::start_bus (struct lps22hb_bus_option &bus) |
| start driver for a specific bus option More... | |
| struct lps22hb_bus_option & | lps22hb::find_bus (enum LPS22HB_BUS busid) |
| find a bus structure for a busid More... | |
| int | lps22hb::reset (enum LPS22HB_BUS busid) |
| Reset the driver. More... | |
| int | lps22hb::info () |
| Print a little info about the driver. More... | |
| void | lps22hb::usage () |
| Prints info about the driver argument usage. More... | |
Variables | |
| struct lps22hb::lps22hb_bus_option | lps22hb::bus_options [] |
| #define NUM_BUS_OPTIONS (sizeof(bus_options)/sizeof(bus_options[0])) |
Definition at line 72 of file lps22hb_main.cpp.
Referenced by lps22hb::find_bus(), rm3100::find_bus(), ets_airspeed::info(), lis3mdl_main(), lps22hb::start(), rm3100::start(), rm3100::stop(), and BATT_SMBUS::task_spawn().
| enum LPS22HB_BUS |
| Enumerator | |
|---|---|
| LPS22HB_BUS_ALL | |
| LPS22HB_BUS_I2C_INTERNAL | |
| LPS22HB_BUS_I2C_EXTERNAL | |
| LPS22HB_BUS_SPI | |
Definition at line 38 of file lps22hb_main.cpp.
| int lps22hb_main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 238 of file lps22hb_main.cpp.
References lps22hb::lps22hb_bus_option::busid, lps22hb::info(), LPS22HB_BUS_ALL, LPS22HB_BUS_I2C_EXTERNAL, LPS22HB_BUS_I2C_INTERNAL, LPS22HB_BUS_SPI, lps22hb::reset(), lps22hb::start(), and lps22hb::usage().