PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Go to the source code of this file.
Classes | |
class | BMI055_accel |
#define BMI055_ACC_BW 0x10 |
Definition at line 58 of file BMI055_accel.hpp.
Referenced by BMI055_accel::reset().
#define BMI055_ACC_CHIP_ID 0x00 |
Definition at line 44 of file BMI055_accel.hpp.
Referenced by BMI055_accel::probe().
#define BMI055_ACC_DATA_CTRL 0x13 |
Definition at line 61 of file BMI055_accel.hpp.
#define BMI055_ACC_DRDY_INT1 (1<<0) |
Definition at line 129 of file BMI055_accel.hpp.
Referenced by BMI055_accel::reset().
#define BMI055_ACC_DRDY_INT_EN (1<<4) |
Definition at line 126 of file BMI055_accel.hpp.
Referenced by BMI055_accel::reset().
#define BMI055_ACC_EEPROM_CTRL 0x33 |
Definition at line 88 of file BMI055_accel.hpp.
#define BMI055_ACC_FIFO_CONFIG_0 0x30 |
Definition at line 86 of file BMI055_accel.hpp.
#define BMI055_ACC_FIFO_CONFIG_1 0x3E |
Definition at line 97 of file BMI055_accel.hpp.
#define BMI055_ACC_FIFO_DATA 0x3F |
Definition at line 98 of file BMI055_accel.hpp.
#define BMI055_ACC_FIFO_STATUS 0x0E |
Definition at line 56 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_EN_0 0x16 |
Definition at line 63 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_EN_1 0x17 |
Definition at line 64 of file BMI055_accel.hpp.
Referenced by BMI055_accel::reset().
#define BMI055_ACC_INT_EN_2 0x18 |
Definition at line 65 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_FLAT_0 0x2E |
Definition at line 84 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_FLAT_1 0x2F |
Definition at line 85 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_LATCH 0x21 |
Definition at line 71 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_LH_0 0x22 |
Definition at line 72 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_LH_1 0x23 |
Definition at line 73 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_LH_2 0x24 |
Definition at line 74 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_LH_3 0x25 |
Definition at line 75 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_LH_4 0x26 |
Definition at line 76 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_MAP_0 0x19 |
Definition at line 66 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_MAP_1 0x1A |
Definition at line 67 of file BMI055_accel.hpp.
Referenced by BMI055_accel::reset().
#define BMI055_ACC_INT_MAP_2 0x1B |
Definition at line 68 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_MOT_0 0x27 |
Definition at line 77 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_MOT_1 0x28 |
Definition at line 78 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_MOT_2 0x29 |
Definition at line 79 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_ORIE_0 0x2C |
Definition at line 82 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_ORIE_1 0x2D |
Definition at line 83 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_OUT_CTRL 0x20 |
Definition at line 70 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_SRC 0x1E |
Definition at line 69 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_STATUS_0 0x09 |
Definition at line 52 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_STATUS_1 0x0A |
Definition at line 53 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_STATUS_2 0x0B |
Definition at line 54 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_STATUS_3 0x0C |
Definition at line 55 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_TAP_0 0x2A |
Definition at line 80 of file BMI055_accel.hpp.
#define BMI055_ACC_INT_TAP_1 0x2B |
Definition at line 81 of file BMI055_accel.hpp.
#define BMI055_ACC_OFC_SETTING 0x37 |
Definition at line 91 of file BMI055_accel.hpp.
#define BMI055_ACC_OFFSET_CTRL 0x36 |
Definition at line 90 of file BMI055_accel.hpp.
#define BMI055_ACC_OFFSET_X 0x38 |
Definition at line 92 of file BMI055_accel.hpp.
#define BMI055_ACC_OFFSET_Y 0x39 |
Definition at line 93 of file BMI055_accel.hpp.
#define BMI055_ACC_OFFSET_Z 0x3A |
Definition at line 94 of file BMI055_accel.hpp.
#define BMI055_ACC_PMU_LOW_POWER 0x12 |
Definition at line 60 of file BMI055_accel.hpp.
#define BMI055_ACC_PMU_LPW 0x11 |
Definition at line 59 of file BMI055_accel.hpp.
Referenced by BMI055_accel::reset().
#define BMI055_ACC_RANGE 0x0F |
Definition at line 57 of file BMI055_accel.hpp.
Referenced by BMI055_accel::reset(), and BMI055_accel::set_accel_range().
#define BMI055_ACC_SELF_TEST 0x32 |
Definition at line 87 of file BMI055_accel.hpp.
#define BMI055_ACC_SERIAL_CTRL 0x34 |
Definition at line 89 of file BMI055_accel.hpp.
#define BMI055_ACC_SOFTRESET 0x14 |
Definition at line 62 of file BMI055_accel.hpp.
Referenced by BMI055_accel::check_registers(), BMI055_accel::reset(), and BMI055_accel::test_error().
#define BMI055_ACC_TEMP 0x08 |
Definition at line 51 of file BMI055_accel.hpp.
Referenced by BMI055_gyro::measure().
#define BMI055_ACC_TRIM_GP1 0x3C |
Definition at line 96 of file BMI055_accel.hpp.
#define BMI055_ACC_TRIM_GPO 0x3B |
Definition at line 95 of file BMI055_accel.hpp.
#define BMI055_ACC_WHO_AM_I 0xFA |
Definition at line 101 of file BMI055_accel.hpp.
Referenced by BMI055_accel::probe().
#define BMI055_ACC_X_H 0x03 |
Definition at line 46 of file BMI055_accel.hpp.
#define BMI055_ACC_X_L 0x02 |
Definition at line 45 of file BMI055_accel.hpp.
Referenced by BMI055_accel::measure().
#define BMI055_ACC_Y_H 0x05 |
Definition at line 48 of file BMI055_accel.hpp.
#define BMI055_ACC_Y_L 0x04 |
Definition at line 47 of file BMI055_accel.hpp.
#define BMI055_ACC_Z_H 0x07 |
Definition at line 50 of file BMI055_accel.hpp.
#define BMI055_ACC_Z_L 0x06 |
Definition at line 49 of file BMI055_accel.hpp.
#define BMI055_ACCEL_BW_1000 (1<<3) | (1<<2) | (1<<1) | (1<<0) |
Definition at line 111 of file BMI055_accel.hpp.
#define BMI055_ACCEL_BW_125 (1<<3) | (1<<2) | (0<<1) | (0<<0) |
Definition at line 108 of file BMI055_accel.hpp.
#define BMI055_ACCEL_BW_15_63 (1<<3) | (0<<2) | (0<<1) | (1<<0) |
Definition at line 105 of file BMI055_accel.hpp.
#define BMI055_ACCEL_BW_250 (1<<3) | (1<<2) | (0<<1) | (1<<0) |
Definition at line 109 of file BMI055_accel.hpp.
#define BMI055_ACCEL_BW_31_25 (1<<3) | (0<<2) | (1<<1) | (0<<0) |
Definition at line 106 of file BMI055_accel.hpp.
#define BMI055_ACCEL_BW_500 (1<<3) | (1<<2) | (1<<1) | (0<<0) |
Definition at line 110 of file BMI055_accel.hpp.
Referenced by BMI055_accel::reset().
#define BMI055_ACCEL_BW_62_5 (1<<3) | (0<<2) | (1<<1) | (1<<0) |
Definition at line 107 of file BMI055_accel.hpp.
#define BMI055_ACCEL_BW_7_81 (1<<3) | (0<<2) | (0<<1) | (0<<0) |
Definition at line 104 of file BMI055_accel.hpp.
#define BMI055_ACCEL_DEEP_SUSPEND (0<<7) | (0<<6) | (1<<5) |
Definition at line 115 of file BMI055_accel.hpp.
#define BMI055_ACCEL_DEFAULT_DRIVER_FILTER_FREQ 50 |
Definition at line 137 of file BMI055_accel.hpp.
#define BMI055_ACCEL_DEFAULT_RANGE_G 16 |
Definition at line 132 of file BMI055_accel.hpp.
Referenced by BMI055_accel::reset().
#define BMI055_ACCEL_DEFAULT_RATE 1000 |
Definition at line 133 of file BMI055_accel.hpp.
Referenced by BMI055_accel::start().
#define BMI055_ACCEL_LOW_POWER (0<<7) | (1<<6) | (0<<5) |
Definition at line 116 of file BMI055_accel.hpp.
#define BMI055_ACCEL_MAX_PUBLISH_RATE 280 |
Definition at line 135 of file BMI055_accel.hpp.
#define BMI055_ACCEL_MAX_RATE 1000 |
Definition at line 134 of file BMI055_accel.hpp.
#define BMI055_ACCEL_NORMAL (0<<7) | (0<<6) | (0<<5) |
Definition at line 114 of file BMI055_accel.hpp.
Referenced by BMI055_accel::reset().
#define BMI055_ACCEL_NUM_CHECKED_REGISTERS 5 |
Definition at line 179 of file BMI055_accel.hpp.
Referenced by BMI055_accel::check_registers(), BMI055_accel::print_info(), BMI055_accel::reset(), and BMI055_accel::write_checked_reg().
#define BMI055_ACCEL_RANGE_16_G (1<<3) | (1<<2) | (0<<1) | (0<<0) |
Definition at line 123 of file BMI055_accel.hpp.
Referenced by BMI055_accel::set_accel_range().
#define BMI055_ACCEL_RANGE_2_G (0<<3) | (0<<2) | (1<<1) | (1<<0) |
Definition at line 120 of file BMI055_accel.hpp.
Referenced by BMI055_accel::reset(), and BMI055_accel::set_accel_range().
#define BMI055_ACCEL_RANGE_4_G (0<<3) | (1<<2) | (0<<1) | (1<<0) |
Definition at line 121 of file BMI055_accel.hpp.
Referenced by BMI055_accel::set_accel_range().
#define BMI055_ACCEL_RANGE_8_G (1<<3) | (0<<2) | (0<<1) | (0<<0) |
Definition at line 122 of file BMI055_accel.hpp.
Referenced by BMI055_accel::set_accel_range().
#define BMI055_ACCEL_SUSPEND (1<<7) | (0<<6) | (0<<5) |
Definition at line 117 of file BMI055_accel.hpp.
#define BMI055_DEVICE_PATH_ACCEL "/dev/bmi055_accel" |
Definition at line 40 of file BMI055_accel.hpp.
Referenced by bmi055::start().
#define BMI055_DEVICE_PATH_ACCEL_EXT "/dev/bmi055_accel_ext" |
Definition at line 41 of file BMI055_accel.hpp.
Referenced by bmi055::start().
#define BMI055_NEW_DATA_MASK 0x01 |
Definition at line 140 of file BMI055_accel.hpp.
Referenced by BMI055_accel::measure().