Register definitions for FXOS8700 devices. More...
Register definitions for FXOS8700 devices.
Definition in file fxos8700_regs.h.
Go to the source code of this file.
Device ID | |
#define | FXOS8700_WHO_AM_I_VAL (0xC7) |
Data ready status | |
#define | FXOS8700_REG_STATUS_MASK__XYZ_READY (0x08) |
#define | FXOS8700_REG_M_DR_STATUS_MASK__XYZ_READY (0x08) |
Output data rate (ODR) and Active mode configuration | |
#define | FXOS8700_REG_CTRL_REG1_MASK__ODR (0x38) |
#define | FXOS8700_REG_CTRL_REG1_ODR__400HZ (0x00) |
#define | FXOS8700_REG_CTRL_REG1_ODR__200HZ (0x08) |
#define | FXOS8700_REG_CTRL_REG1_ODR__100HZ (0x10) |
#define | FXOS8700_REG_CTRL_REG1_ODR__50HZ (0x18) |
#define | FXOS8700_REG_CTRL_REG1_ODR__25HZ (0x20) |
#define | FXOS8700_REG_CTRL_REG1_MASK__ACTIVE (0x01) |
Sensing mode configuration | |
#define | FXOS8700_REG_M_CTRL_REG1_MASK__HMS (0x03) |
#define | FXOS8700_REG_M_CTRL_REG1_HMS__ACC_ONLY (0x00) |
#define | FXOS8700_REG_M_CTRL_REG1_HMS__MAG_ONLY (0x01) |
#define | FXOS8700_REG_M_CTRL_REG1_HMS__HYBRID (0x03) |
Burst-read mode configuration | |
#define | FXOS8700_REG_M_CTRL_REG2_MASK__HYB_AUTOINC_MODE (0x20) |
Accelerator full-scale range configuration | |
#define | FXOS8700_REG_XYZ_DATA_CFG_MASK__FS (0x03) |
#define | FXOS8700_REG_XYZ_DATA_CFG_FS__2G (0x00) |
#define | FXOS8700_REG_XYZ_DATA_CFG_FS__4G (0x01) |
#define | FXOS8700_REG_XYZ_DATA_CFG_FS__8G (0x02) |
#define FXOS8700_REG_A_FFMT_CFG (0x15) |
Definition at line 51 of file fxos8700_regs.h.
#define FXOS8700_REG_A_FFMT_COUNT (0x18) |
Definition at line 54 of file fxos8700_regs.h.
#define FXOS8700_REG_A_FFMT_SRC (0x16) |
Definition at line 52 of file fxos8700_regs.h.
#define FXOS8700_REG_A_FFMT_THS (0x17) |
Definition at line 53 of file fxos8700_regs.h.
#define FXOS8700_REG_A_FFMT_THS_X_LSB (0x74) |
Definition at line 142 of file fxos8700_regs.h.
#define FXOS8700_REG_A_FFMT_THS_X_MSB (0x73) |
Definition at line 141 of file fxos8700_regs.h.
#define FXOS8700_REG_A_FFMT_THS_Y_LSB (0x76) |
Definition at line 144 of file fxos8700_regs.h.
#define FXOS8700_REG_A_FFMT_THS_Y_MSB (0x75) |
Definition at line 143 of file fxos8700_regs.h.
#define FXOS8700_REG_A_FFMT_THS_Z_LSB (0x78) |
Definition at line 146 of file fxos8700_regs.h.
#define FXOS8700_REG_A_FFMT_THS_Z_MSB (0x77) |
Definition at line 145 of file fxos8700_regs.h.
#define FXOS8700_REG_A_VECM_CFG (0x5F) |
Definition at line 121 of file fxos8700_regs.h.
#define FXOS8700_REG_A_VECM_CNT (0x62) |
Definition at line 124 of file fxos8700_regs.h.
#define FXOS8700_REG_A_VECM_INITX_LSB (0x64) |
Definition at line 126 of file fxos8700_regs.h.
#define FXOS8700_REG_A_VECM_INITX_MSB (0x63) |
Definition at line 125 of file fxos8700_regs.h.
#define FXOS8700_REG_A_VECM_INITY_LSB (0x66) |
Definition at line 128 of file fxos8700_regs.h.
#define FXOS8700_REG_A_VECM_INITY_MSB (0x65) |
Definition at line 127 of file fxos8700_regs.h.
#define FXOS8700_REG_A_VECM_INITZ_LSB (0x68) |
Definition at line 130 of file fxos8700_regs.h.
#define FXOS8700_REG_A_VECM_INITZ_MSB (0x67) |
Definition at line 129 of file fxos8700_regs.h.
#define FXOS8700_REG_A_VECM_THS_LSB (0x61) |
Definition at line 123 of file fxos8700_regs.h.
#define FXOS8700_REG_A_VECM_THS_MSB (0x60) |
Definition at line 122 of file fxos8700_regs.h.
#define FXOS8700_REG_ASLP_COUNT (0x29) |
Definition at line 67 of file fxos8700_regs.h.
#define FXOS8700_REG_CMP_X_LSB (0x3A) |
Definition at line 84 of file fxos8700_regs.h.
#define FXOS8700_REG_CMP_X_MSB (0x39) |
Definition at line 83 of file fxos8700_regs.h.
#define FXOS8700_REG_CMP_Y_LSB (0x3C) |
Definition at line 86 of file fxos8700_regs.h.
#define FXOS8700_REG_CMP_Y_MSB (0x3B) |
Definition at line 85 of file fxos8700_regs.h.
#define FXOS8700_REG_CMP_Z_LSB (0x3E) |
Definition at line 88 of file fxos8700_regs.h.
#define FXOS8700_REG_CMP_Z_MSB (0x3D) |
Definition at line 87 of file fxos8700_regs.h.
#define FXOS8700_REG_CTRL_REG1 (0x2A) |
Definition at line 68 of file fxos8700_regs.h.
#define FXOS8700_REG_CTRL_REG1_MASK__ACTIVE (0x01) |
Definition at line 175 of file fxos8700_regs.h.
#define FXOS8700_REG_CTRL_REG1_MASK__ODR (0x38) |
Definition at line 168 of file fxos8700_regs.h.
#define FXOS8700_REG_CTRL_REG1_ODR__100HZ (0x10) |
Definition at line 171 of file fxos8700_regs.h.
#define FXOS8700_REG_CTRL_REG1_ODR__200HZ (0x08) |
Definition at line 170 of file fxos8700_regs.h.
#define FXOS8700_REG_CTRL_REG1_ODR__25HZ (0x20) |
Definition at line 173 of file fxos8700_regs.h.
#define FXOS8700_REG_CTRL_REG1_ODR__400HZ (0x00) |
Definition at line 169 of file fxos8700_regs.h.
#define FXOS8700_REG_CTRL_REG1_ODR__50HZ (0x18) |
Definition at line 172 of file fxos8700_regs.h.
#define FXOS8700_REG_CTRL_REG2 (0x2B) |
Definition at line 69 of file fxos8700_regs.h.
#define FXOS8700_REG_CTRL_REG3 (0x2C) |
Definition at line 70 of file fxos8700_regs.h.
#define FXOS8700_REG_CTRL_REG4 (0x2D) |
Definition at line 71 of file fxos8700_regs.h.
#define FXOS8700_REG_CTRL_REG5 (0x2E) |
Definition at line 72 of file fxos8700_regs.h.
#define FXOS8700_REG_F_SETUP (0x09) |
Definition at line 39 of file fxos8700_regs.h.
#define FXOS8700_REG_HP_FILTER_CUTOFF (0x0F) |
Definition at line 45 of file fxos8700_regs.h.
#define FXOS8700_REG_INT_SOURCE (0x0C) |
Definition at line 42 of file fxos8700_regs.h.
#define FXOS8700_REG_M_CTRL_REG1 (0x5B) |
Definition at line 117 of file fxos8700_regs.h.
#define FXOS8700_REG_M_CTRL_REG1_HMS__ACC_ONLY (0x00) |
Definition at line 183 of file fxos8700_regs.h.
#define FXOS8700_REG_M_CTRL_REG1_HMS__HYBRID (0x03) |
Definition at line 185 of file fxos8700_regs.h.
#define FXOS8700_REG_M_CTRL_REG1_HMS__MAG_ONLY (0x01) |
Definition at line 184 of file fxos8700_regs.h.
#define FXOS8700_REG_M_CTRL_REG1_MASK__HMS (0x03) |
Definition at line 182 of file fxos8700_regs.h.
#define FXOS8700_REG_M_CTRL_REG2 (0x5C) |
Definition at line 118 of file fxos8700_regs.h.
#define FXOS8700_REG_M_CTRL_REG2_MASK__HYB_AUTOINC_MODE (0x20) |
Definition at line 192 of file fxos8700_regs.h.
#define FXOS8700_REG_M_CTRL_REG3 (0x5D) |
Definition at line 119 of file fxos8700_regs.h.
#define FXOS8700_REG_M_DR_STATUS (0x32) |
Definition at line 76 of file fxos8700_regs.h.
#define FXOS8700_REG_M_DR_STATUS_MASK__XYZ_READY (0x08) |
Definition at line 161 of file fxos8700_regs.h.
#define FXOS8700_REG_M_INT_SRC (0x5E) |
Definition at line 120 of file fxos8700_regs.h.
#define FXOS8700_REG_M_OFF_X_LSB (0x40) |
Definition at line 90 of file fxos8700_regs.h.
#define FXOS8700_REG_M_OFF_X_MSB (0x3F) |
Definition at line 89 of file fxos8700_regs.h.
#define FXOS8700_REG_M_OFF_Y_LSB (0x42) |
Definition at line 92 of file fxos8700_regs.h.
#define FXOS8700_REG_M_OFF_Y_MSB (0x41) |
Definition at line 91 of file fxos8700_regs.h.
#define FXOS8700_REG_M_OFF_Z_LSB (0x44) |
Definition at line 94 of file fxos8700_regs.h.
#define FXOS8700_REG_M_OFF_Z_MSB (0x43) |
Definition at line 93 of file fxos8700_regs.h.
#define FXOS8700_REG_M_OUT_X_LSB (0x34) |
Definition at line 78 of file fxos8700_regs.h.
#define FXOS8700_REG_M_OUT_X_MSB (0x33) |
Definition at line 77 of file fxos8700_regs.h.
#define FXOS8700_REG_M_OUT_Y_LSB (0x36) |
Definition at line 80 of file fxos8700_regs.h.
#define FXOS8700_REG_M_OUT_Y_MSB (0x35) |
Definition at line 79 of file fxos8700_regs.h.
#define FXOS8700_REG_M_OUT_Z_LSB (0x38) |
Definition at line 82 of file fxos8700_regs.h.
#define FXOS8700_REG_M_OUT_Z_MSB (0x37) |
Definition at line 81 of file fxos8700_regs.h.
#define FXOS8700_REG_M_THS_CFG (0x52) |
Definition at line 108 of file fxos8700_regs.h.
#define FXOS8700_REG_M_THS_COUNT (0x5A) |
Definition at line 116 of file fxos8700_regs.h.
#define FXOS8700_REG_M_THS_SRC (0x53) |
Definition at line 109 of file fxos8700_regs.h.
#define FXOS8700_REG_M_THS_X_LSB (0x55) |
Definition at line 111 of file fxos8700_regs.h.
#define FXOS8700_REG_M_THS_X_MSB (0x54) |
Definition at line 110 of file fxos8700_regs.h.
#define FXOS8700_REG_M_THS_Y_LSB (0x57) |
Definition at line 113 of file fxos8700_regs.h.
#define FXOS8700_REG_M_THS_Y_MSB (0x56) |
Definition at line 112 of file fxos8700_regs.h.
#define FXOS8700_REG_M_THS_Z_LSB (0x59) |
Definition at line 115 of file fxos8700_regs.h.
#define FXOS8700_REG_M_THS_Z_MSB (0x58) |
Definition at line 114 of file fxos8700_regs.h.
#define FXOS8700_REG_M_VECM_CFG (0x69) |
Definition at line 131 of file fxos8700_regs.h.
#define FXOS8700_REG_M_VECM_CNT (0x6C) |
Definition at line 134 of file fxos8700_regs.h.
#define FXOS8700_REG_M_VECM_INITX_LSB (0x6E) |
Definition at line 136 of file fxos8700_regs.h.
#define FXOS8700_REG_M_VECM_INITX_MSB (0x6D) |
Definition at line 135 of file fxos8700_regs.h.
#define FXOS8700_REG_M_VECM_INITY_LSB (0x70) |
Definition at line 138 of file fxos8700_regs.h.
#define FXOS8700_REG_M_VECM_INITY_MSB (0x6F) |
Definition at line 137 of file fxos8700_regs.h.
#define FXOS8700_REG_M_VECM_INITZ_LSB (0x72) |
Definition at line 140 of file fxos8700_regs.h.
#define FXOS8700_REG_M_VECM_INITZ_MSB (0x71) |
Definition at line 139 of file fxos8700_regs.h.
#define FXOS8700_REG_M_VECM_THS_LSB (0x6B) |
Definition at line 133 of file fxos8700_regs.h.
#define FXOS8700_REG_M_VECM_THS_MSB (0x6A) |
Definition at line 132 of file fxos8700_regs.h.
#define FXOS8700_REG_MAX_X_LSB (0x46) |
Definition at line 96 of file fxos8700_regs.h.
#define FXOS8700_REG_MAX_X_MSB (0x45) |
Definition at line 95 of file fxos8700_regs.h.
#define FXOS8700_REG_MAX_Y_LSB (0x48) |
Definition at line 98 of file fxos8700_regs.h.
#define FXOS8700_REG_MAX_Y_MSB (0x47) |
Definition at line 97 of file fxos8700_regs.h.
#define FXOS8700_REG_MAX_Z_LSB (0x4A) |
Definition at line 100 of file fxos8700_regs.h.
#define FXOS8700_REG_MAX_Z_MSB (0x49) |
Definition at line 99 of file fxos8700_regs.h.
#define FXOS8700_REG_MIN_X_LSB (0x4C) |
Definition at line 102 of file fxos8700_regs.h.
#define FXOS8700_REG_MIN_X_MSB (0x4B) |
Definition at line 101 of file fxos8700_regs.h.
#define FXOS8700_REG_MIN_Y_LSB (0x4E) |
Definition at line 104 of file fxos8700_regs.h.
#define FXOS8700_REG_MIN_Y_MSB (0x4D) |
Definition at line 103 of file fxos8700_regs.h.
#define FXOS8700_REG_MIN_Z_LSB (0x50) |
Definition at line 106 of file fxos8700_regs.h.
#define FXOS8700_REG_MIN_Z_MSB (0x4F) |
Definition at line 105 of file fxos8700_regs.h.
#define FXOS8700_REG_OFF_X (0x2F) |
Definition at line 73 of file fxos8700_regs.h.
#define FXOS8700_REG_OFF_Y (0x30) |
Definition at line 74 of file fxos8700_regs.h.
#define FXOS8700_REG_OFF_Z (0x31) |
Definition at line 75 of file fxos8700_regs.h.
#define FXOS8700_REG_OUT_X_LSB (0x02) |
Definition at line 34 of file fxos8700_regs.h.
#define FXOS8700_REG_OUT_X_MSB (0x01) |
Definition at line 33 of file fxos8700_regs.h.
#define FXOS8700_REG_OUT_Y_LSB (0x04) |
Definition at line 36 of file fxos8700_regs.h.
#define FXOS8700_REG_OUT_Y_MSB (0x03) |
Definition at line 35 of file fxos8700_regs.h.
#define FXOS8700_REG_OUT_Z_LSB (0x06) |
Definition at line 38 of file fxos8700_regs.h.
#define FXOS8700_REG_OUT_Z_MSB (0x05) |
Definition at line 37 of file fxos8700_regs.h.
#define FXOS8700_REG_PL_BF_ZCOMP (0x13) |
Definition at line 49 of file fxos8700_regs.h.
#define FXOS8700_REG_PL_CFG (0x11) |
Definition at line 47 of file fxos8700_regs.h.
#define FXOS8700_REG_PL_COUNT (0x12) |
Definition at line 48 of file fxos8700_regs.h.
#define FXOS8700_REG_PL_STATUS (0x10) |
Definition at line 46 of file fxos8700_regs.h.
#define FXOS8700_REG_PL_THS_REG (0x14) |
Definition at line 50 of file fxos8700_regs.h.
#define FXOS8700_REG_PULSE_CFG (0x21) |
Definition at line 59 of file fxos8700_regs.h.
#define FXOS8700_REG_PULSE_LTCY (0x27) |
Definition at line 65 of file fxos8700_regs.h.
#define FXOS8700_REG_PULSE_SRC (0x22) |
Definition at line 60 of file fxos8700_regs.h.
#define FXOS8700_REG_PULSE_THSX (0x23) |
Definition at line 61 of file fxos8700_regs.h.
#define FXOS8700_REG_PULSE_THSY (0x24) |
Definition at line 62 of file fxos8700_regs.h.
#define FXOS8700_REG_PULSE_THSZ (0x25) |
Definition at line 63 of file fxos8700_regs.h.
#define FXOS8700_REG_PULSE_TMLT (0x26) |
Definition at line 64 of file fxos8700_regs.h.
#define FXOS8700_REG_PULSE_WIND (0x28) |
Definition at line 66 of file fxos8700_regs.h.
#define FXOS8700_REG_STATUS (0x00) |
Definition at line 32 of file fxos8700_regs.h.
#define FXOS8700_REG_STATUS_MASK__XYZ_READY (0x08) |
Definition at line 160 of file fxos8700_regs.h.
#define FXOS8700_REG_SYSMOD (0x0B) |
Definition at line 41 of file fxos8700_regs.h.
#define FXOS8700_REG_TEMP (0x51) |
Definition at line 107 of file fxos8700_regs.h.
#define FXOS8700_REG_TRANSIENT_CFG (0x1D) |
Definition at line 55 of file fxos8700_regs.h.
#define FXOS8700_REG_TRANSIENT_COUNT (0x20) |
Definition at line 58 of file fxos8700_regs.h.
#define FXOS8700_REG_TRANSIENT_SRC (0x1E) |
Definition at line 56 of file fxos8700_regs.h.
#define FXOS8700_REG_TRANSIENT_THS (0x1F) |
Definition at line 57 of file fxos8700_regs.h.
#define FXOS8700_REG_TRIG_CFG (0x0A) |
Definition at line 40 of file fxos8700_regs.h.
#define FXOS8700_REG_WHO_AM_I (0x0D) |
Definition at line 43 of file fxos8700_regs.h.
#define FXOS8700_REG_XYZ_DATA_CFG (0x0E) |
Definition at line 44 of file fxos8700_regs.h.
#define FXOS8700_REG_XYZ_DATA_CFG_FS__2G (0x00) |
Definition at line 200 of file fxos8700_regs.h.
#define FXOS8700_REG_XYZ_DATA_CFG_FS__4G (0x01) |
Definition at line 201 of file fxos8700_regs.h.
#define FXOS8700_REG_XYZ_DATA_CFG_FS__8G (0x02) |
Definition at line 202 of file fxos8700_regs.h.
#define FXOS8700_REG_XYZ_DATA_CFG_MASK__FS (0x03) |
Definition at line 199 of file fxos8700_regs.h.
#define FXOS8700_WHO_AM_I_VAL (0xC7) |
Definition at line 153 of file fxos8700_regs.h.