APM:Libraries
|
#include <assert.h>
#include <utility>
#include <AP_Math/AP_Math.h>
#include <AP_HAL/AP_HAL.h>
#include "AP_Compass_LSM9DS1.h"
Go to the source code of this file.
Classes | |
struct | sample_regs |
Variables | |
const AP_HAL::HAL & | hal |
#define LSM9DS1M_80HZ (0x7 << 2) |
Definition at line 24 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_configure().
#define LSM9DS1M_BDU (0x0 << 6) |
Definition at line 38 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_configure().
#define LSM9DS1M_CONTINUOUS_MODE 0x0 |
Definition at line 32 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_configure().
#define LSM9DS1M_CTRL_REG1_M 0x20 |
Definition at line 21 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_configure().
#define LSM9DS1M_CTRL_REG2_M 0x21 |
Definition at line 27 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_configure(), and AP_Compass_LSM9DS1::_set_scale().
#define LSM9DS1M_CTRL_REG3_M 0x22 |
Definition at line 30 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_configure().
#define LSM9DS1M_CTRL_REG4_M 0x23 |
Definition at line 34 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_configure().
#define LSM9DS1M_CTRL_REG5_M 0x24 |
Definition at line 37 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_configure().
#define LSM9DS1M_FAST_ODR (0x1 << 1) |
Definition at line 25 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_configure().
#define LSM9DS1M_FS_16G (0x3 << 5) |
Definition at line 28 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_configure(), and AP_Compass_LSM9DS1::_set_scale().
#define LSM9DS1M_INT_CFG_M 0x30 |
Definition at line 48 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_INT_SRC_M 0x31 |
Definition at line 49 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_INT_THS_H_M 0x33 |
Definition at line 51 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_dump_registers().
#define LSM9DS1M_INT_THS_L_M 0x32 |
Definition at line 50 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_OFFSET_X_REG_H_M 0x06 |
Definition at line 12 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_OFFSET_X_REG_L_M 0x05 |
Definition at line 11 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_dump_registers().
#define LSM9DS1M_OFFSET_Y_REG_H_M 0x08 |
Definition at line 14 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_OFFSET_Y_REG_L_M 0x07 |
Definition at line 13 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_OFFSET_Z_REG_H_M 0x0A |
Definition at line 16 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_OFFSET_Z_REG_L_M 0x09 |
Definition at line 15 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_OUT_X_H_M 0x29 |
Definition at line 43 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_OUT_X_L_M 0x28 |
Definition at line 42 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_OUT_Y_H_M 0x2B |
Definition at line 45 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_OUT_Y_L_M 0x2A |
Definition at line 44 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_OUT_Z_H_M 0x2D |
Definition at line 47 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_OUT_Z_L_M 0x2C |
Definition at line 46 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_SPI_ENABLE (0x01 << 2) |
Definition at line 31 of file AP_Compass_LSM9DS1.cpp.
#define LSM9DS1M_STATUS_REG_M 0x27 |
Definition at line 40 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_update().
#define LSM9DS1M_TEMP_COMP (0x1 << 7) |
Definition at line 22 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_configure().
#define LSM9DS1M_WHO_AM_I 0x0F |
Definition at line 18 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_check_id().
#define LSM9DS1M_XY_ULTRA_HIGH (0x3 << 5) |
Definition at line 23 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_configure().
#define LSM9DS1M_Z_ULTRA_HIGH (0x3 << 2) |
Definition at line 35 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_configure().
#define WHO_AM_I_MAG 0x3D |
Definition at line 19 of file AP_Compass_LSM9DS1.cpp.
Referenced by AP_Compass_LSM9DS1::_check_id().
const AP_HAL::HAL& hal |
Definition at line 14 of file AC_PID_test.cpp.