accel15 2.0.0.0
|
Settings for registers of Accel 15 Click driver. More...
Settings for registers of Accel 15 Click driver.
#define ACCEL15_ |
Accel 15 Accel config macros.
Specified setting for Accel config macros of Accel 15 Click driver.
#define ACCEL15_12_BIT_RESOLUTION 12 |
Accel 15 sensor resolution.
Specified setting for sensor resolution of Accel 15 Click driver.
#define ACCEL15_16_BIT_RESOLUTION 16 |
#define ACCEL15_ACCEL_AUX_FIFO_DROP 0x05 |
Accel 15 fifo dropped frame definition.
Specified setting for fifo dropped frame definition of Accel 15 Click driver.
#define ACCEL15_ACCEL_BW_MSK 0x70 |
#define ACCEL15_ACCEL_BW_POS 4 |
#define ACCEL15_ACCEL_CIC_AVG8 3 |
#define ACCEL15_ACCEL_CONFIG_FOC 0xB7 |
Accel 15 foc related macros.
Specified setting for foc related macros of Accel 15 Click driver.
#define ACCEL15_ACCEL_CONFIG_LENGTH 2 |
Accel 15 constants.
Specified setting for constants of Accel 15 Click driver.
#define ACCEL15_ACCEL_DATA_LENGTH 6 |
#define ACCEL15_ACCEL_DRDY 0x80 |
#define ACCEL15_ACCEL_EN 0x40 |
#define ACCEL15_ACCEL_ENABLE_MSK 0x04 |
#define ACCEL15_ACCEL_ENABLE_POS 2 |
Accel 15 accelerometer enable position and mask.
Specified setting for accelerometer enable position and mask of Accel 15 Click driver.
#define ACCEL15_ACCEL_FIFO_DROP 0x01 |
#define ACCEL15_ACCEL_NORMAL_AVG4 2 |
#define ACCEL15_ACCEL_ODR_MSK 0x0F |
Accel 15 accel configuration position and mask.
Specified setting for accel configuration position and mask of Accel 15 Click driver.
#define ACCEL15_ACCEL_OFF 0x00 |
Accel 15 power ctrl macros.
Specified setting for power ctrl macros of Accel 15 Click driver.
#define ACCEL15_ACCEL_ON 0x04 |
#define ACCEL15_ACCEL_OSR2_AVG2 1 |
#define ACCEL15_ACCEL_OSR4_AVG1 0 |
Accel 15 accel bandwidth parameter.
Specified setting for accel bandwidth parameter of Accel 15 Click driver.
#define ACCEL15_ACCEL_PERFMODE_MSK 0x80 |
#define ACCEL15_ACCEL_PERFMODE_POS 7 |
#define ACCEL15_ACCEL_RANGE_16G 0 |
Accel 15 accel range check.
Specified setting for accel range check of Accel 15 Click driver.
#define ACCEL15_ACCEL_RANGE_2G 3 |
#define ACCEL15_ACCEL_RANGE_4G 2 |
#define ACCEL15_ACCEL_RANGE_8G 1 |
#define ACCEL15_ACCEL_RANGE_MSK 0x03 |
#define ACCEL15_ACCEL_RES_AVG128 7 |
#define ACCEL15_ACCEL_RES_AVG16 4 |
#define ACCEL15_ACCEL_RES_AVG32 5 |
#define ACCEL15_ACCEL_RES_AVG64 6 |
#define ACCEL15_ACCEL_SELFTEST_ENABLE_MSK 0x01 |
Accel 15 self-test position and mask.
Specified setting for self-test position and mask of Accel 15 Click driver.
#define ACCEL15_ACCEL_SELFTEST_SIGN_MSK 0x04 |
#define ACCEL15_ACCEL_SELFTEST_SIGN_POS 2 |
#define ACCEL15_ADVANCE_POWER_SAVE_MSK 0x01 |
Accel 15 advance power save position and mask.
Specified setting for advance power save position and mask of Accel 15 Click driver.
#define ACCEL15_ANY_MOT_INT 0x20 |
Accel 15 Interrupt status macros.
Specified setting for Interrupt status macros of Accel 15 Click driver.
#define ACCEL15_ANY_MOT_START_ADDR 0x00 |
Accel 15 feature start address.
Specified setting for feature start address of Accel 15 Click driver.
#define ACCEL15_APS_OFF 0x00 |
Accel 15 power mode macros.
Specified setting for power mode macros of Accel 15 Click driver.
#define ACCEL15_APS_ON 0x01 |
#define ACCEL15_ASIC_INITIALIZED 0x01 |
#define ACCEL15_AUX_OFF 0x00 |
#define ACCEL15_AUX_ON 0x01 |
#define ACCEL15_AXES_REMAP_START_ADDR 0x0A |
#define ACCEL15_CHIP_ID 0x1A |
Accel 15 description setting.
Specified setting for description of Accel 15 Click driver.
Accel 15 data.
Specified setting for data of Accel 15 Click driver.
#define ACCEL15_CIC_AVG_MODE 0 |
Accel 15 accel performance mode parameter.
Specified setting for enable/disable bit values of Accel 15 Click driver.
#define ACCEL15_CMD_ERR_MSK 0x02 |
#define ACCEL15_CMD_ERR_POS 1 |
#define ACCEL15_CONFIG_ID_START_ADDR 0x08 |
#define ACCEL15_CONFIG_MAJOR_POS 0x06 |
Accel 15 Bit position for major configuration.
Specified setting for bit position for major configuration of Accel 15 Click driver.
#define ACCEL15_CONFIG_STREAM_MESSAGE_MSK 0x0F |
#define ACCEL15_CONTINUOUS_MODE 1 |
#define ACCEL15_DIS_ALL_AXIS 0x00 |
#define ACCEL15_DISABLE 0x00 |
#define ACCEL15_DRDY 0x01 |
Accel 15 Accel enable and data ready macros.
Specified setting for accel enable and data ready macros of Accel 15 Click driver.
#define ACCEL15_EN_ALL_AXIS 0x07 |
#define ACCEL15_ENABLE 0x01 |
Accel 15 enable/disable bit values.
Specified setting for enable/disable bit values of Accel 15 Click driver.
#define ACCEL15_ERR_CODE_MSK 0x1C |
#define ACCEL15_ERR_CODE_POS 2 |
#define ACCEL15_ERROR_INT 0x80 |
#define ACCEL15_FATAL_ERR_MSK 0x01 |
Accel 15 error status position and mask.
Specified setting for error status position and mask of Accel 15 Click driver.
#define ACCEL15_FEATURE_SIZE 0x0C |
#define ACCEL15_FIFO_ACC_ENABLE 0x40 |
#define ACCEL15_FIFO_ACC_LENGTH 6 |
Accel 15 fifo length definition.
Specified setting for fifo length definition of Accel 15 Click driver.
#define ACCEL15_FIFO_ACCEL 0x40 |
#define ACCEL15_FIFO_ALL 0x7F |
#define ACCEL15_FIFO_BYTE_COUNTER_MSB_MSK 0x3F |
#define ACCEL15_FIFO_CONFIG_0_MASK 0x03 |
#define ACCEL15_FIFO_CONFIG_1_MASK 0xFC |
#define ACCEL15_FIFO_CONFIG_LENGTH 2 |
#define ACCEL15_FIFO_DATA_LENGTH 2 |
#define ACCEL15_FIFO_DATA_MSK 0xFF |
#define ACCEL15_FIFO_DATA_POS 0 |
#define ACCEL15_FIFO_DOWN_ACCEL_MSK 0x70 |
#define ACCEL15_FIFO_DOWN_ACCEL_POS 4 |
#define ACCEL15_FIFO_ERR_MSK 0x40 |
#define ACCEL15_FIFO_ERR_POS 6 |
#define ACCEL15_FIFO_FILTER_ACCEL_MSK 0x80 |
#define ACCEL15_FIFO_FILTER_ACCEL_POS 7 |
#define ACCEL15_FIFO_HEADER 0x10 |
#define ACCEL15_FIFO_HEADER_ACC 0x84 |
Accel 15 fifo header data definitions.
Specified setting for fifo header data definitions of Accel 15 Click driver.
#define ACCEL15_FIFO_HEADER_INPUT_CONFIG 0x48 |
#define ACCEL15_FIFO_HEADER_MAG 0x90 |
#define ACCEL15_FIFO_HEADER_MAG_ACC 0x94 |
#define ACCEL15_FIFO_HEADER_OVER_READ_MSB 0x80 |
#define ACCEL15_FIFO_HEADER_SAMPLE_DROP 0x50 |
#define ACCEL15_FIFO_HEADER_SENSOR_TIME 0x44 |
#define ACCEL15_FIFO_HEADER_SKIP_FRAME 0x40 |
#define ACCEL15_FIFO_LENGTH_MSB_BYTE 1 |
#define ACCEL15_FIFO_LSB_CONFIG_CHECK 0x00 |
Accel 15 fifo frame count definition.
Specified setting for fifo frame count definition of Accel 15 Click driver.
#define ACCEL15_FIFO_MAG 0x20 |
#define ACCEL15_FIFO_MAG_ACC_ENABLE 0x60 |
#define ACCEL15_FIFO_MAG_ACC_LENGTH 14 |
#define ACCEL15_FIFO_MAG_ENABLE 0x20 |
#define ACCEL15_FIFO_MAG_LENGTH 8 |
#define ACCEL15_FIFO_MSB_CONFIG_CHECK 0x80 |
#define ACCEL15_FIFO_SELF_WAKE_UP_MSK 0x02 |
#define ACCEL15_FIFO_SELF_WAKE_UP_POS 1 |
Accel 15 fifo self wake up position and mask.
Specified setting for fifo of Accel 15 Click driver.
#define ACCEL15_FIFO_STOP_ON_FULL 0x01 |
#define ACCEL15_FIFO_TAG_INTR1 0x08 |
#define ACCEL15_FIFO_TAG_INTR2 0x04 |
#define ACCEL15_FIFO_TAG_INTR_MASK 0xFC |
#define ACCEL15_FIFO_TIME 0x02 |
#define ACCEL15_FIFO_WM_LENGTH 2 |
#define ACCEL15_FOC_ACC_CONF_VAL 0xB7 |
Accel 15 Macro to define accelerometer configuration value for FOC.
Specified setting for Macro to define accelerometer configuration value for FOC of Accel 15 Click driver.
#define ACCEL15_FSW_OFF 0x00 |
#define ACCEL15_FSW_ON 0x02 |
#define ACCEL15_INIT_START 0x00 |
Accel 15 initialization.
Specified setting for initialization of Accel 15 Click driver.
#define ACCEL15_INIT_STOP 0x01 |
#define ACCEL15_INT1_IO_CTRL_EDGE_EN 0x01 |
#define ACCEL15_INT1_IO_CTRL_INPUT_EN 0x10 |
Accel 15 Int1 IO ctrl macros.
Specified setting for INT1 IO ctrl macros of Accel 15 Click driver.
#define ACCEL15_INT1_IO_CTRL_LVL_HIGH 0x02 |
#define ACCEL15_INT1_IO_CTRL_OD_EN 0x04 |
#define ACCEL15_INT1_IO_CTRL_OUTPUT_EN 0x08 |
#define ACCEL15_INT_MAP_DATA_INT1_DRDY 0x04 |
#define ACCEL15_INT_MAP_DATA_INT1_FFULL 0x01 |
#define ACCEL15_INT_MAP_DATA_INT1_FWM 0x02 |
#define ACCEL15_INT_MAP_DATA_INT2_DRDY 0x40 |
Accel 15 INT map data macros.
Specified setting for INT map data macros of Accel 15 Click driver.
#define ACCEL15_INT_MAP_DATA_INT2_FFULL 0x10 |
#define ACCEL15_INT_MAP_DATA_INT2_FWM 0x20 |
#define ACCEL15_MA_FIFO_A_X_LSB 8 |
#define ACCEL15_MAX_IF_MODE 3 |
#define ACCEL15_MAX_VALUE_FIFO_FILTER 1 |
Accel 15 condition check for reading and wrting data.
Specified setting for condition check for reading and wrting data of Accel 15 Click driver.
#define ACCEL15_MAX_VALUE_SELFTEST_AMP 1 |
#define ACCEL15_MAX_VALUE_SELFTEST_SIGN 1 |
#define ACCEL15_MAX_VALUE_SPI3 1 |
#define ACCEL15_NO_MOT_INT 0x40 |
#define ACCEL15_NO_MOT_START_ADDR 0x04 |
#define ACCEL15_NV_ACCEL_OFFSET_MSK 0x08 |
#define ACCEL15_NV_ACCEL_OFFSET_POS 3 |
#define ACCEL15_NV_DISABLE_I2C 0x01 |
#define ACCEL15_NV_ENABLE_I2C 0x00 |
Accel 15 NV_CONFIG position and mask.
Specified setting for NV_CONFIG position and mask of Accel 15 Click driver.
#define ACCEL15_OUTPUT_DATA_RATE_100HZ 0x08 |
#define ACCEL15_OUTPUT_DATA_RATE_12_5HZ 0x05 |
Accel 15 accel ODR.
Specified setting for accel ODR of Accel 15 Click driver.
#define ACCEL15_OUTPUT_DATA_RATE_1600HZ 0x0C |
#define ACCEL15_OUTPUT_DATA_RATE_200HZ 0x09 |
#define ACCEL15_OUTPUT_DATA_RATE_25HZ 0x06 |
#define ACCEL15_OUTPUT_DATA_RATE_400HZ 0x0A |
#define ACCEL15_OUTPUT_DATA_RATE_50HZ 0x07 |
#define ACCEL15_OUTPUT_DATA_RATE_800HZ 0x0B |
#define ACCEL15_RD_WR_MAX_LEN 1300 |
#define ACCEL15_RD_WR_MIN_LEN 0x02 |
#define ACCEL15_SELFTEST_AMP_MSK 0x08 |
#define ACCEL15_SELFTEST_AMP_POS 3 |
#define ACCEL15_SELFTEST_DIFF_X_AND_Y_AXIS_FAILED 4 |
#define ACCEL15_SELFTEST_DIFF_X_AND_Z_AXIS_FAILED 5 |
#define ACCEL15_SELFTEST_DIFF_X_AXIS_FAILED 1 |
#define ACCEL15_SELFTEST_DIFF_X_Y_AND_Z_AXIS_FAILED 7 |
#define ACCEL15_SELFTEST_DIFF_Y_AND_Z_AXIS_FAILED 6 |
#define ACCEL15_SELFTEST_DIFF_Y_AXIS_FAILED 2 |
#define ACCEL15_SELFTEST_DIFF_Z_AXIS_FAILED 3 |
#define ACCEL15_SELFTEST_FAIL 1 |
#define ACCEL15_SELFTEST_PASS 0 |
Accel 15 self-test.
Specified setting for self-test of Accel 15 Click driver.
#define ACCEL15_SENSOR_TIME_LENGTH 3 |
Accel 15 fifo sensor time length definitions.
Specified setting for fifo sensor time length definitions of Accel 15 Click driver.
#define ACCEL15_SENSOR_TIME_LSB_BYTE 0 |
#define ACCEL15_SENSOR_TIME_MSB_BYTE 2 |
#define ACCEL15_SENSOR_TIME_XLSB_BYTE 1 |
#define ACCEL15_SET_DEV_ADDR_GND 0x18 |
Accel 15 device address setting.
Specified setting for device slave address selection of Accel 15 Click driver.
#define ACCEL15_SET_DEV_ADDR_VCC 0x19 |
#define ACCEL15_SOFT_RESET 0x6B |
Accel 15 soft reset.
Specified setting for soft reset of Accel 15 Click driver.
#define ACCEL15_SPI_RD_MASK 0x80 |
#define ACCEL15_SPI_READ 0x80 |
#define ACCEL15_SPI_WR_MASK 0x7F |
Accel 15 Interface selection macro.
Specified setting for interface selection macro of Accel 15 Click driver.
#define ACCEL15_SPI_WRITE 0x00 |
Accel 15 SPI write/read command.
Specified setting for SPI write/read command of Accel 15 Click driver.
#define ACCEL15_X_AXIS 0 |
Accel 15 enable/disable selections.
Specified setting for enable/disable selections of Accel 15 Click driver.
#define ACCEL15_X_AXIS_EN 0x01 |
Accel 15 Any/No-motion axis enable macros.
Specified setting for any/no-motion axis enable macros of Accel 15 Click driver.
#define ACCEL15_X_AXIS_MSK 0x03 |
Accel 15 Mask definitions for axes re-mapping.
Specified setting for mask definitions for axes re-mapping of Accel 15 Click driver.
#define ACCEL15_X_AXIS_SIGN_MSK 0x04 |
#define ACCEL15_X_AXIS_SIGN_POS 0x02 |
Accel 15 Bit position for axes re-mapping.
Specified setting for bit position for axes re-mapping of Accel 15 Click driver.
#define ACCEL15_Y_AXIS 1 |
#define ACCEL15_Y_AXIS_EN 0x02 |
#define ACCEL15_Y_AXIS_MSK 0x18 |
#define ACCEL15_Y_AXIS_POS 0x03 |
#define ACCEL15_Y_AXIS_SIGN_MSK 0x20 |
#define ACCEL15_Y_AXIS_SIGN_POS 0x05 |
#define ACCEL15_Z_AXIS 2 |
#define ACCEL15_Z_AXIS_EN 0x04 |
#define ACCEL15_Z_AXIS_MSK 0xC0 |
#define ACCEL15_Z_AXIS_POS 0x06 |
#define ACCEL15_Z_AXIS_SIGN_MSK 0x01 |