PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Driver for Sensirion SDP3X Differential Pressure Sensor. More...
#include <drivers/airspeed/airspeed.h>
#include <math.h>
#include <mathlib/math/filter/LowPassFilter2p.hpp>
#include <px4_platform_common/getopt.h>
Go to the source code of this file.
Classes | |
class | SDP3X |
Macros | |
#define | I2C_ADDRESS_1_SDP3X 0x21 |
#define | I2C_ADDRESS_2_SDP3X 0x22 |
#define | I2C_ADDRESS_3_SDP3X 0x23 |
#define | SDP3X_SCALE_TEMPERATURE 200.0f |
#define | SDP3X_RESET_ADDR 0x00 |
#define | SDP3X_RESET_CMD 0x06 |
#define | SDP3X_CONT_MEAS_AVG_MODE 0x3615 |
#define | SDP3X_SCALE_PRESSURE_SDP31 60 |
#define | SDP3X_SCALE_PRESSURE_SDP32 240 |
#define | SDP3X_SCALE_PRESSURE_SDP33 20 |
#define | PATH_SDP3X "/dev/sdp3x" |
#define | SPD3X_MEAS_RATE 100 |
#define | SDP3X_MEAS_DRIVER_FILTER_FREQ 3.0f |
#define | CONVERSION_INTERVAL (1000000 / SPD3X_MEAS_RATE) /* microseconds */ |
#define CONVERSION_INTERVAL (1000000 / SPD3X_MEAS_RATE) /* microseconds */ |
#define I2C_ADDRESS_1_SDP3X 0x21 |
Definition at line 50 of file SDP3X.hpp.
Referenced by sdp3x_airspeed::start_bus().
#define I2C_ADDRESS_2_SDP3X 0x22 |
Definition at line 51 of file SDP3X.hpp.
Referenced by sdp3x_airspeed::start_bus().
#define PATH_SDP3X "/dev/sdp3x" |
Definition at line 63 of file SDP3X.hpp.
Referenced by sdp3x_airspeed::reset(), and sdp3x_airspeed::start_bus().
#define SDP3X_CONT_MEAS_AVG_MODE 0x3615 |
Definition at line 57 of file SDP3X.hpp.
Referenced by SDP3X::init_sdp3x().
#define SDP3X_RESET_ADDR 0x00 |
Definition at line 55 of file SDP3X.hpp.
Referenced by SDP3X::init_sdp3x().
#define SDP3X_RESET_CMD 0x06 |
Definition at line 56 of file SDP3X.hpp.
Referenced by SDP3X::init_sdp3x().
#define SDP3X_SCALE_PRESSURE_SDP31 60 |
Definition at line 59 of file SDP3X.hpp.
Referenced by SDP3X::init_sdp3x().
#define SDP3X_SCALE_PRESSURE_SDP32 240 |
Definition at line 60 of file SDP3X.hpp.
Referenced by SDP3X::init_sdp3x().
#define SDP3X_SCALE_PRESSURE_SDP33 20 |
Definition at line 61 of file SDP3X.hpp.
Referenced by SDP3X::init_sdp3x().
#define SDP3X_SCALE_TEMPERATURE 200.0f |
Definition at line 54 of file SDP3X.hpp.
Referenced by SDP3X::collect().