|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <drivers/drv_hrt.h>#include <drivers/device/spi.h>#include <drivers/drv_mag.h>#include <drivers/device/ringbuffer.h>#include <drivers/device/integrator.h>#include <mathlib/math/filter/LowPassFilter2p.hpp>#include <lib/conversion/rotation.h>#include <perf/perf_counter.h>#include <px4_platform_common/px4_work_queue/ScheduledWorkItem.hpp>#include <systemlib/err.h>Go to the source code of this file.
Classes | |
| struct | CFG_REG_A_M_BITS |
| class | LSM303AGR |
Variables | |
| static constexpr uint8_t | WHO_AM_I_M = 0x4F |
| static constexpr uint8_t | CFG_REG_A_M = 0x60 |
| static constexpr uint8_t | CFG_REG_A_M_SOFT_RST = (1 << 5) |
| static constexpr uint8_t | CFG_REG_A_M_ODR1 = (1 << 3) |
| static constexpr uint8_t | CFG_REG_A_M_ODR0 = (1 << 2) |
| static constexpr uint8_t | CFG_REG_A_M_MD1 = (1 << 1) |
| static constexpr uint8_t | CFG_REG_A_M_MD0 = (1 << 0) |
| static constexpr uint8_t | CFG_REG_B_M = 0x61 |
| static constexpr uint8_t | CFG_REG_B_M_OFF_CANC = (1 << 1) |
| static constexpr uint8_t | CFG_REG_B_M_OFF_LPF = (1 << 0) |
| static constexpr uint8_t | CFG_REG_C_M = 0x62 |
| static constexpr uint8_t | CFG_REG_C_M_I2C_DIS = (1 << 5) |
| static constexpr uint8_t | CFG_REG_C_M_BDU = (1 << 4) |
| static constexpr uint8_t | CFG_REG_C_M_Self_test = (1 << 1) |
| static constexpr uint8_t | STATUS_REG_M = 0x67 |
| static constexpr uint8_t | STATUS_REG_M_Zyxda = (1 << 3) |
| static constexpr uint8_t | OUTX_L_REG_M = 0x68 |
| static constexpr uint8_t | OUTX_H_REG_M = 0x69 |
| static constexpr uint8_t | OUTY_L_REG_M = 0x6A |
| static constexpr uint8_t | OUTY_H_REG_M = 0x6B |
| static constexpr uint8_t | OUTZ_L_REG_M = 0x6C |
| static constexpr uint8_t | OUTZ_H_REG_M = 0x6D |
|
static |
Definition at line 51 of file LSM303AGR.hpp.
Referenced by LSM303AGR::measure(), LSM303AGR::reset(), and LSM303AGR::self_test().
|
static |
Definition at line 69 of file LSM303AGR.hpp.
Referenced by LSM303AGR::measure(), and LSM303AGR::reset().
|
static |
Definition at line 68 of file LSM303AGR.hpp.
|
static |
Definition at line 67 of file LSM303AGR.hpp.
Referenced by LSM303AGR::measure(), and LSM303AGR::reset().
|
static |
Definition at line 66 of file LSM303AGR.hpp.
Referenced by LSM303AGR::measure(), and LSM303AGR::reset().
|
static |
Definition at line 65 of file LSM303AGR.hpp.
|
static |
Definition at line 71 of file LSM303AGR.hpp.
Referenced by LSM303AGR::reset(), and LSM303AGR::self_test().
|
static |
Definition at line 72 of file LSM303AGR.hpp.
Referenced by LSM303AGR::reset().
|
static |
Definition at line 73 of file LSM303AGR.hpp.
Referenced by LSM303AGR::reset().
|
static |
Definition at line 75 of file LSM303AGR.hpp.
Referenced by LSM303AGR::reset(), and LSM303AGR::self_test().
|
static |
Definition at line 77 of file LSM303AGR.hpp.
|
static |
Definition at line 76 of file LSM303AGR.hpp.
Referenced by LSM303AGR::reset().
|
static |
Definition at line 78 of file LSM303AGR.hpp.
|
static |
Definition at line 85 of file LSM303AGR.hpp.
Referenced by LSM303AGR::collect(), and LSM303AGR::self_test().
|
static |
Definition at line 84 of file LSM303AGR.hpp.
Referenced by LSM303AGR::collect(), and LSM303AGR::self_test().
|
static |
Definition at line 87 of file LSM303AGR.hpp.
Referenced by LSM303AGR::collect(), and LSM303AGR::self_test().
|
static |
Definition at line 86 of file LSM303AGR.hpp.
Referenced by LSM303AGR::collect(), and LSM303AGR::self_test().
|
static |
Definition at line 89 of file LSM303AGR.hpp.
Referenced by LSM303AGR::collect(), and LSM303AGR::self_test().
|
static |
Definition at line 88 of file LSM303AGR.hpp.
Referenced by LSM303AGR::collect(), and LSM303AGR::self_test().
|
static |
Definition at line 80 of file LSM303AGR.hpp.
Referenced by LSM303AGR::collect(), and LSM303AGR::self_test().
|
static |
Definition at line 81 of file LSM303AGR.hpp.
Referenced by LSM303AGR::collect().
|
static |
Definition at line 49 of file LSM303AGR.hpp.
Referenced by LSM303AGR::probe().