Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
Register defs for ST LSM303DLHC 3D accelerometer and magnetometer. More...
Go to the source code of this file.
Register defs for ST LSM303DLHC 3D accelerometer and magnetometer.
Definition in file lsm303dlhc_regs.h.
#define LSM303DLHC_ABW_MASK (0x03 << 6) |
Definition at line 116 of file lsm303dlhc_regs.h.
#define LSM303DLHC_ACC_ADDR 0x32 |
Definition at line 31 of file lsm303dlhc_regs.h.
Referenced by lsm303dlhc_i2c_event(), lsm303dlhc_i2c_init(), lsm303dlhc_i2c_read(), lsm303dlhc_i2c_send_config(), and lsm303dlhc_i2c_start_configure().
#define LSM303DLHC_ACT_DUR 0x3F |
Definition at line 97 of file lsm303dlhc_regs.h.
#define LSM303DLHC_ACT_THS 0x3E |
Definition at line 96 of file lsm303dlhc_regs.h.
#define LSM303DLHC_AFDS (0x01 << 5) |
Definition at line 138 of file lsm303dlhc_regs.h.
#define LSM303DLHC_AHPM_MASK (0x07 << 6) |
Definition at line 137 of file lsm303dlhc_regs.h.
#define LSM303DLHC_AODR_MASK (0x0F << 4) |
Definition at line 110 of file lsm303dlhc_regs.h.
#define LSM303DLHC_AST (0x01 << 1) |
Definition at line 114 of file lsm303dlhc_regs.h.
#define LSM303DLHC_BDU (0x01 << 3) |
Definition at line 109 of file lsm303dlhc_regs.h.
#define LSM303DLHC_FS_MASK (0x07 << 3) |
Definition at line 115 of file lsm303dlhc_regs.h.
Referenced by lsm303dlhc_i2c_send_config().
#define LSM303DLHC_I1_DRDY_A (0x01 << 2) |
Definition at line 119 of file lsm303dlhc_regs.h.
#define LSM303DLHC_I2_DRDY_A (0x01 << 3) |
Definition at line 123 of file lsm303dlhc_regs.h.
#define LSM303DLHC_I2_DRDY_M (0x01 << 2) |
Definition at line 124 of file lsm303dlhc_regs.h.
#define LSM303DLHC_M_LIR_MASK (0x7 << 0) |
Definition at line 131 of file lsm303dlhc_regs.h.
#define LSM303DLHC_M_ODR_MASK (0x15 << 2) |
Definition at line 130 of file lsm303dlhc_regs.h.
#define LSM303DLHC_M_RES (0x07 << 5) |
Definition at line 129 of file lsm303dlhc_regs.h.
#define LSM303DLHC_MAG_ADDR 0x3C |
Definition at line 32 of file lsm303dlhc_regs.h.
#define LSM303DLHC_MD_MASK (0x07 << 0) |
Definition at line 141 of file lsm303dlhc_regs.h.
#define LSM303DLHC_MFS_MASK (0x07 << 5) |
Definition at line 134 of file lsm303dlhc_regs.h.
#define LSM303DLHC_MLP (0x01 << 2) |
Definition at line 140 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_CLICK_CFG 0x38 |
Definition at line 90 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_CLICK_SRC 0x39 |
Definition at line 91 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_CLICK_THS 0x3A |
Definition at line 92 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_CTRL0 0x1F |
Definition at line 63 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_CTRL1 0x20 |
Definition at line 64 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_CTRL2 0x21 |
Definition at line 65 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_CTRL3 0x22 |
Definition at line 66 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_CTRL4 0x23 |
Definition at line 67 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_CTRL5 0x24 |
Definition at line 68 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_CTRL6 0x25 |
Definition at line 69 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_CTRL7 0x26 |
Definition at line 70 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_FIFO_CTRL 0x2E |
Definition at line 80 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_FIFO_SRC 0x2F |
Definition at line 81 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_INT_CFG 0x30 |
Definition at line 82 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_INT_CFG2 0x34 |
Definition at line 86 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_INT_CTRL_M 0x12 |
Definition at line 50 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_INT_DUR1 0x33 |
Definition at line 85 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_INT_DUR2 0x37 |
Definition at line 89 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_INT_SRC1 0x31 |
Definition at line 83 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_INT_SRC2 0x35 |
Definition at line 87 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_INT_SRC_M 0x13 |
Definition at line 51 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_INT_THS1 0x32 |
Definition at line 84 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_INT_THS2 0x36 |
Definition at line 88 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_INT_THS_H_M 0x15 |
Definition at line 53 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_INT_THS_L_M 0x14 |
Definition at line 52 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OFFSET_X_H_M 0x17 |
Definition at line 55 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OFFSET_X_L_M 0x16 |
Definition at line 54 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OFFSET_Y_H_M 0x19 |
Definition at line 57 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OFFSET_Y_L_M 0x18 |
Definition at line 56 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OFFSET_Z_H_M 0x1B |
Definition at line 59 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OFFSET_Z_L_M 0x1A |
Definition at line 58 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OUT_X_H_A 0x29 |
Definition at line 74 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OUT_X_H_M 0x09 |
Definition at line 42 of file lsm303dlhc_regs.h.
Referenced by lsm303dlhc_i2c_read().
#define LSM303DLHC_REG_OUT_X_L_A 0x28 |
Definition at line 73 of file lsm303dlhc_regs.h.
Referenced by lsm303dlhc_i2c_read().
#define LSM303DLHC_REG_OUT_X_L_M 0x08 |
Definition at line 41 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OUT_Y_H_A 0x2B |
Definition at line 76 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OUT_Y_H_M 0x0B |
Definition at line 44 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OUT_Y_L_A 0x2A |
Definition at line 75 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OUT_Y_L_M 0x0A |
Definition at line 43 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OUT_Z_H_A 0x2D |
Definition at line 78 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OUT_Z_H_M 0x0D |
Definition at line 46 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OUT_Z_L_A 0x2C |
Definition at line 77 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_OUT_Z_L_M 0x0C |
Definition at line 45 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_REFERENCE_X 0x1C |
Definition at line 60 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_REFERENCE_Y 0x1D |
Definition at line 61 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_REFERENCE_Z 0x1E |
Definition at line 62 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_STATUS_REG_A 0x27 |
Definition at line 72 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_STATUS_REG_M 0x07 |
Definition at line 40 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_STATUS_ZYXADA 0x08 |
Definition at line 99 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_STATUS_ZYXMDA 0x08 |
Definition at line 100 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_TEMP_OUT_H_M 0x06 |
Definition at line 38 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_TEMP_OUT_L_M 0x05 |
Definition at line 37 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_TIME_LATENCY 0x3C |
Definition at line 94 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_TIME_LIMIT 0x3B |
Definition at line 93 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_TIME_WINDOW 0x3D |
Definition at line 95 of file lsm303dlhc_regs.h.
#define LSM303DLHC_REG_WHO_AM_I 0x0F |
Definition at line 48 of file lsm303dlhc_regs.h.
#define LSM303DLHC_SIM (0x01 << 0) |
Definition at line 113 of file lsm303dlhc_regs.h.
#define LSM303DLHC_T_ONLY (0x01 << 4) |
Definition at line 139 of file lsm303dlhc_regs.h.
#define LSM303DLHC_TEMP_EN (0x01 << 7) |
Definition at line 128 of file lsm303dlhc_regs.h.
#define LSM303DLHC_WHO_I_AM 0x49 |
Definition at line 102 of file lsm303dlhc_regs.h.
#define LSM303DLHC_Xen (0x01 << 0) |
Definition at line 106 of file lsm303dlhc_regs.h.
Referenced by lsm303dlhc_i2c_send_config().
#define LSM303DLHC_Yen (0x01 << 1) |
Definition at line 107 of file lsm303dlhc_regs.h.
Referenced by lsm303dlhc_i2c_send_config().
#define LSM303DLHC_Zen (0x01 << 2) |
Definition at line 108 of file lsm303dlhc_regs.h.
Referenced by lsm303dlhc_i2c_send_config().