|
smartsens2 2.2.0
|
List of registers of Smart Sens 2 Click driver. More...
List of registers of Smart Sens 2 Click driver.
| #define SMARTSENS2_CMD_BOOT_FLASH 0x0006 |
| #define SMARTSENS2_CMD_BOOT_RAM 0x0003 |
| #define SMARTSENS2_CMD_BSX_VERSION 0x027E |
| #define SMARTSENS2_CMD_CALIBRATION_STATE_ACCELEROMETER 0x0201 |
| #define SMARTSENS2_CMD_CALIBRATION_STATE_GYROSCOPE 0x0203 |
| #define SMARTSENS2_CMD_CALIBRATION_STATE_MAGNETOMETER 0x0205 |
| #define SMARTSENS2_CMD_CHANGE_SENSOR_DYNAMIC_RANGE 0x000E |
| #define SMARTSENS2_CMD_CONFIGURE_SENSOR 0x000D |
| #define SMARTSENS2_CMD_CTRL_FIFO_FORMAT 0x0015 |
| #define SMARTSENS2_CMD_DEBUG_TEST 0x0010 |
| #define SMARTSENS2_CMD_DOWNLOAD_POST_MORTEM_DATA 0x0001 |
Smart Sens 2 control commands.
Specified commands for control of Smart Sens 2 Click driver.
| #define SMARTSENS2_CMD_DUT_CONTINUE 0x0011 |
| #define SMARTSENS2_CMD_DUT_START_TEST 0x0012 |
| #define SMARTSENS2_CMD_ERASE_FLASH 0x0004 |
| #define SMARTSENS2_CMD_FIFO_FLUSH 0x0009 |
| #define SMARTSENS2_CMD_INJECT_SENSOR_DATA 0x0008 |
| #define SMARTSENS2_CMD_META_EVENT_CTRL_FIFO_CTRL 0x0103 |
| #define SMARTSENS2_CMD_META_EVENT_CTRL_FIRMWARE_VERSION 0x0104 |
| #define SMARTSENS2_CMD_META_EVENT_CTRL_FRAMEWORK_STATUS 0x0106 |
| #define SMARTSENS2_CMD_META_EVENT_CTRL_NON_WAKE_UP_FIFO 0x0101 |
| #define SMARTSENS2_CMD_META_EVENT_CTRL_PHYSICAL_SENSOR_INFO 0x0121 |
| #define SMARTSENS2_CMD_META_EVENT_CTRL_PHYSICAL_SENSOR_PRESENT 0x0120 |
| #define SMARTSENS2_CMD_META_EVENT_CTRL_TIMESTAMPS 0x0105 |
| #define SMARTSENS2_CMD_META_EVENT_CTRL_VIRUAL_SENSOR_PRESENT 0x011F |
| #define SMARTSENS2_CMD_META_EVENT_CTRL_WAKE_UP_FIFO 0x0102 |
| #define SMARTSENS2_CMD_RAISE_SPEED 0x0017 |
| #define SMARTSENS2_CMD_REQUEST_SENSOR_FAST_OFFSET_COMPENSATION 0x000C |
| #define SMARTSENS2_CMD_REQUEST_SENSOR_SELF_TEST 0x000B |
| #define SMARTSENS2_CMD_SET_CHANGE_SENSITIVITY 0x000F |
| #define SMARTSENS2_CMD_SET_SENSOR_DATA_INJECTION 0x0007 |
| #define SMARTSENS2_CMD_SIC_MATRIX 0x027D |
| #define SMARTSENS2_CMD_SOFT_PASS_THROUGH 0x000A |
| #define SMARTSENS2_CMD_SYSTEM_PARAMETERS_READ_MASK 0x1000 |
| #define SMARTSENS2_CMD_UPLOAD_TO_RAM 0x0002 |
| #define SMARTSENS2_CMD_VIRTUAL_SENSOR_INFO 0x0300 |
| #define SMARTSENS2_CMD_WRITE_FLASH 0x0005 |
| #define SMARTSENS2_FLASH 1 /*< Boot firmware from flash */ |
| #define SMARTSENS2_FLASHIMG 0 /*< Firmware image for flash include */ |
Smart Sens 2 application preset.
Specified application will use flash or RAM. If you use flash and firmware image is already uploaded to flash you can set SMARTSENS2_FLASHIMG to 0 to not include firmware image.
| #define SMARTSENS2_RAM 0 /*< Upload and boot firmware from RAM */ |
| #define SMARTSENS2_REG_BOOT_STATUS 0x25 |
| #define SMARTSENS2_REG_CHIP_CTRL 0x05 |
| #define SMARTSENS2_REG_CHIP_ID 0x2B |
| #define SMARTSENS2_REG_COMMAND_INPUT 0x00 |
Smart Sens 2 description register.
Specified register for description of Smart Sens 2 Click driver.
| #define SMARTSENS2_REG_DEBUG_STATE 0x31 |
| #define SMARTSENS2_REG_DEBUG_VALUE 0x30 |
| #define SMARTSENS2_REG_ERROR_AUX 0x2F |
| #define SMARTSENS2_REG_ERROR_VALUE 0x2E |
| #define SMARTSENS2_REG_FEATURE_STATUS 0x24 |
| #define SMARTSENS2_REG_FUSER2_PRODUCT_ID 0x1C |
| #define SMARTSENS2_REG_FUSER2_REVISION_ID 0x1D |
| #define SMARTSENS2_REG_HOST_CRC 0x18191A1B |
| #define SMARTSENS2_REG_HOST_CTRL 0x16 |
| #define SMARTSENS2_REG_HOST_INTERFACE_CTRL 0x06 |
| #define SMARTSENS2_REG_HOST_INTERRUPT_CTRL 0x07 |
| #define SMARTSENS2_REG_HOST_INTERRUPT_TIMESTAMP 0x26 |
| #define SMARTSENS2_REG_HOST_STATUS 0x17 |
| #define SMARTSENS2_REG_INTERRUPT_STATUS 0x2D |
| #define SMARTSENS2_REG_KERNEL_VERSION 0x2021 |
| #define SMARTSENS2_REG_NON_WAKE_UP_FIFO 0x02 |
| #define SMARTSENS2_REG_RESET_REQUEST 0x14 |
| #define SMARTSENS2_REG_ROM_VERSION 0x1E1F |
| #define SMARTSENS2_REG_STATUS_DEBUG_FIFO 0x03 |
| #define SMARTSENS2_REG_TIMESTAMP_EVENT_REQUEST 0x15 |
| #define SMARTSENS2_REG_USER_VERSION 0x2223 |
| #define SMARTSENS2_REG_WAKE_UP_FIFO 0x01 |
| #define SMARTSENS2_START_FLASH_ADR 0x00001F84 |
Smart Sens 2 flash start adress for firmware.
Recommended flash address to start writing firmware image.