PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Local functions in support of the shell command. More...
Classes | |
struct | ms5611_bus_option |
struct | prom_s |
Calibration PROM as reported by the device. More... | |
union | prom_u |
Grody hack for crc4() More... | |
Functions | |
bool | crc4 (uint16_t *n_prom) |
MS5611 crc4 cribbed from the datasheet. More... | |
static bool | start_bus (struct ms5611_bus_option &bus, enum MS56XX_DEVICE_TYPES device_type) |
Start the driver. More... | |
static int | start (enum MS5611_BUS busid, enum MS56XX_DEVICE_TYPES device_type) |
Start the driver. More... | |
static int | info () |
static int | usage () |
Variables | |
struct ms5611::ms5611_bus_option | bus_options [] |
Local functions in support of the shell command.
bool ms5611::crc4 | ( | uint16_t * | n_prom | ) |
MS5611 crc4 cribbed from the datasheet.
Definition at line 608 of file ms5611.cpp.
Referenced by MS5611_I2C::_read_prom().
|
static |
Definition at line 173 of file ms5611_main.cpp.
References bus_options, ms5611::ms5611_bus_option::dev, ms5611::ms5611_bus_option::devpath, NUM_BUS_OPTIONS, and MS5611::print_info().
Referenced by ms5611_main().
|
static |
Start the driver.
This function call only returns once the driver is either successfully up and running or failed to start.
Definition at line 145 of file ms5611_main.cpp.
References bus_options, ms5611::ms5611_bus_option::dev, MS5611_BUS_ALL, NUM_BUS_OPTIONS, and start_bus().
Referenced by ms5611_main().
|
static |
Start the driver.
Definition at line 96 of file ms5611_main.cpp.
References ms5611::ms5611_bus_option::dev, fd, OK, px4_close(), px4_open(), SENSOR_POLLRATE_DEFAULT, and SENSORIOCSPOLLRATE.
Referenced by start().
|
static |
Definition at line 188 of file ms5611_main.cpp.
Referenced by ms5611_main().
struct ms5611::ms5611_bus_option ms5611::bus_options[] |