Registers that are present in each device from the IMU (ADXL345, ITG3200 and HMC5883) More...
Go to the source code of this file.
Macros | |
#define | ACC_DEVID 0x00 |
#define | ACC_THRESH_TAP 0x1D |
#define | ACC_OFSX 0x1E |
#define | ACC_OFSY 0x1F |
#define | ACC_OFSZ 0x20 |
#define | ACC_DUR 0x21 |
#define | ACC_LATENT 0x22 |
#define | ACC_WINDOW 0x23 |
#define | ACC_THRESH_ACT 0x24 |
#define | ACC_THRESH_INACT 0x25 |
#define | ACC_TIME_INACT 0x26 |
#define | ACC_ACT_INACT_CTL 0x27 |
#define | ACC_THRESH_FF 0x28 |
#define | ACC_TIME_FF 0x29 |
#define | ACC_TAP_AXES 0x2A |
#define | ACC_ACT_TAP_STATUS 0x2B |
#define | ACC_BW_RATE 0x2C |
#define | ACC_POWER_CTL 0x2D |
#define | ACC_INT_ENABLE 0x2E |
#define | ACC_INT_MAP 0x2F |
#define | ACC_INT_SOURCE 0x30 |
#define | ACC_DATA_FORMAT 0x31 |
#define | ACC_DATAX0 0x32 |
#define | ACC_DATAX1 0x33 |
#define | ACC_DATAY0 0x34 |
#define | ACC_DATAY1 0x35 |
#define | ACC_DATAZ0 0x36 |
#define | ACC_DATAZ1 0x37 |
#define | ACC_FIFO_CTL 0x38 |
#define | ACC_FIFO_STATUS 0x39 |
#define | ACC_DATA_FORMAT_FULLRES_FULLRANGE 0x0B |
#define | ACC_POWER_CTL_MEAS_MODE 0x08 |
#define | GYR_WHO_AM_I 0x00 |
#define | GYR_SMPLRT_DIV 0x15 |
#define | GYR_DLPF_FS 0x16 |
#define | GYR_INT_CFG 0x17 |
#define | GYR_INT_STATUS 0x1A |
#define | GYR_TEMP_OUT_H 0x1B |
#define | GYR_TEMP_OUT_L 0x1C |
#define | GYR_GYRO_XOUT_H 0x1D |
#define | GYR_GYRO_XOUT_L 0x1E |
#define | GYR_GYRO_YOUT_H 0x1F |
#define | GYR_GYRO_YOUT_L 0x20 |
#define | GYR_GYRO_ZOUT_H 0x21 |
#define | GYR_GYRO_ZOUT_L 0x22 |
#define | GYR_PWR_MGM 0x3E |
#define | MAG_CONFIG_A 0x00 |
#define | MAG_CONFIG_B 0x01 |
#define | MAG_MODE 0x02 |
#define | MAG_DATAX1 0x03 |
#define | MAG_DATAX0 0x04 |
#define | MAG_DATAZ1 0x05 |
#define | MAG_DATAZ0 0x06 |
#define | MAG_DATAY1 0x07 |
#define | MAG_DATAY0 0x08 |
#define | MAG_STATUS 0x09 |
#define | MAG_ID_A 0x0A |
#define | MAG_ID_B 0x0B |
#define | MAG_ID_C 0x0C |
Registers that are present in each device from the IMU (ADXL345, ITG3200 and HMC5883)
Definition in file imu_regs.h.
#define ACC_ACT_INACT_CTL 0x27 |
Definition at line 21 of file imu_regs.h.
#define ACC_ACT_TAP_STATUS 0x2B |
Definition at line 25 of file imu_regs.h.
Referenced by acc_write_reg().
#define ACC_BW_RATE 0x2C |
Definition at line 26 of file imu_regs.h.
Referenced by acc_init().
#define ACC_DATA_FORMAT 0x31 |
Definition at line 31 of file imu_regs.h.
Referenced by acc_init().
#define ACC_DATA_FORMAT_FULLRES_FULLRANGE 0x0B |
Definition at line 41 of file imu_regs.h.
#define ACC_DATAX0 0x32 |
Definition at line 32 of file imu_regs.h.
Referenced by acc_read_all_data(), acc_read_data(), and acc_write_reg().
#define ACC_DATAX1 0x33 |
Definition at line 33 of file imu_regs.h.
Referenced by acc_write_reg().
#define ACC_DATAY0 0x34 |
Definition at line 34 of file imu_regs.h.
Referenced by acc_read_data(), and acc_write_reg().
#define ACC_DATAY1 0x35 |
Definition at line 35 of file imu_regs.h.
Referenced by acc_write_reg().
#define ACC_DATAZ0 0x36 |
Definition at line 36 of file imu_regs.h.
Referenced by acc_read_data(), and acc_write_reg().
#define ACC_DATAZ1 0x37 |
Definition at line 37 of file imu_regs.h.
Referenced by acc_write_reg().
#define ACC_DEVID 0x00 |
Definition at line 10 of file imu_regs.h.
Referenced by acc_read_all_reg(), and acc_write_reg().
#define ACC_DUR 0x21 |
Definition at line 15 of file imu_regs.h.
#define ACC_FIFO_CTL 0x38 |
Definition at line 38 of file imu_regs.h.
#define ACC_FIFO_STATUS 0x39 |
Definition at line 39 of file imu_regs.h.
Referenced by acc_write_reg().
#define ACC_INT_ENABLE 0x2E |
Definition at line 28 of file imu_regs.h.
#define ACC_INT_MAP 0x2F |
Definition at line 29 of file imu_regs.h.
#define ACC_INT_SOURCE 0x30 |
Definition at line 30 of file imu_regs.h.
Referenced by acc_write_reg().
#define ACC_LATENT 0x22 |
Definition at line 16 of file imu_regs.h.
#define ACC_OFSX 0x1E |
Definition at line 12 of file imu_regs.h.
#define ACC_OFSY 0x1F |
Definition at line 13 of file imu_regs.h.
#define ACC_OFSZ 0x20 |
Definition at line 14 of file imu_regs.h.
#define ACC_POWER_CTL 0x2D |
Definition at line 27 of file imu_regs.h.
Referenced by acc_init().
#define ACC_POWER_CTL_MEAS_MODE 0x08 |
Definition at line 42 of file imu_regs.h.
Referenced by acc_init().
#define ACC_TAP_AXES 0x2A |
Definition at line 24 of file imu_regs.h.
#define ACC_THRESH_ACT 0x24 |
Definition at line 18 of file imu_regs.h.
#define ACC_THRESH_FF 0x28 |
Definition at line 22 of file imu_regs.h.
#define ACC_THRESH_INACT 0x25 |
Definition at line 19 of file imu_regs.h.
#define ACC_THRESH_TAP 0x1D |
Definition at line 11 of file imu_regs.h.
Referenced by acc_read_all_reg().
#define ACC_TIME_FF 0x29 |
Definition at line 23 of file imu_regs.h.
#define ACC_TIME_INACT 0x26 |
Definition at line 20 of file imu_regs.h.
#define ACC_WINDOW 0x23 |
Definition at line 17 of file imu_regs.h.
#define GYR_DLPF_FS 0x16 |
Definition at line 48 of file imu_regs.h.
Referenced by gyr_init().
#define GYR_GYRO_XOUT_H 0x1D |
Definition at line 53 of file imu_regs.h.
Referenced by gyr_read_data().
#define GYR_GYRO_XOUT_L 0x1E |
Definition at line 54 of file imu_regs.h.
#define GYR_GYRO_YOUT_H 0x1F |
Definition at line 55 of file imu_regs.h.
Referenced by gyr_read_data().
#define GYR_GYRO_YOUT_L 0x20 |
Definition at line 56 of file imu_regs.h.
#define GYR_GYRO_ZOUT_H 0x21 |
Definition at line 57 of file imu_regs.h.
Referenced by gyr_read_data().
#define GYR_GYRO_ZOUT_L 0x22 |
Definition at line 58 of file imu_regs.h.
#define GYR_INT_CFG 0x17 |
Definition at line 49 of file imu_regs.h.
Referenced by gyr_write_reg().
#define GYR_INT_STATUS 0x1A |
Definition at line 50 of file imu_regs.h.
#define GYR_PWR_MGM 0x3E |
Definition at line 59 of file imu_regs.h.
Referenced by gyr_init(), and gyr_write_reg().
#define GYR_SMPLRT_DIV 0x15 |
Definition at line 47 of file imu_regs.h.
Referenced by gyr_init(), and gyr_write_reg().
#define GYR_TEMP_OUT_H 0x1B |
Definition at line 51 of file imu_regs.h.
Referenced by gyr_read_all_data(), and gyr_read_data().
#define GYR_TEMP_OUT_L 0x1C |
Definition at line 52 of file imu_regs.h.
#define GYR_WHO_AM_I 0x00 |
Definition at line 46 of file imu_regs.h.
Referenced by gyr_write_reg().
#define MAG_CONFIG_A 0x00 |
Definition at line 64 of file imu_regs.h.
Referenced by mag_init().
#define MAG_CONFIG_B 0x01 |
Definition at line 65 of file imu_regs.h.
Referenced by mag_init().
#define MAG_DATAX0 0x04 |
Definition at line 68 of file imu_regs.h.
#define MAG_DATAX1 0x03 |
Definition at line 67 of file imu_regs.h.
Referenced by mag_read_all_data(), and mag_read_data().
#define MAG_DATAY0 0x08 |
Definition at line 72 of file imu_regs.h.
#define MAG_DATAY1 0x07 |
Definition at line 71 of file imu_regs.h.
Referenced by mag_read_data().
#define MAG_DATAZ0 0x06 |
Definition at line 70 of file imu_regs.h.
#define MAG_DATAZ1 0x05 |
Definition at line 69 of file imu_regs.h.
Referenced by mag_read_data().
#define MAG_ID_A 0x0A |
Definition at line 74 of file imu_regs.h.
#define MAG_ID_B 0x0B |
Definition at line 75 of file imu_regs.h.
#define MAG_ID_C 0x0C |
Definition at line 76 of file imu_regs.h.
#define MAG_MODE 0x02 |
Definition at line 66 of file imu_regs.h.
Referenced by mag_init(), and mag_write_reg().
#define MAG_STATUS 0x09 |
Definition at line 73 of file imu_regs.h.