smartsens 2.0.0.0
|
List of registers of Smart Sens Click driver. More...
List of registers of Smart Sens Click driver.
#define SMARTSENS_CMD_BOOT_FLASH 0x0006 |
#define SMARTSENS_CMD_BOOT_RAM 0x0003 |
#define SMARTSENS_CMD_BSX_VERSION 0x027E |
#define SMARTSENS_CMD_CALIBRATION_STATE_ACCELEROMETER 0x0201 |
#define SMARTSENS_CMD_CALIBRATION_STATE_GYROSCOPE 0x0203 |
#define SMARTSENS_CMD_CALIBRATION_STATE_MAGNETOMETER 0x0205 |
#define SMARTSENS_CMD_CHANGE_SENSOR_DYNAMIC_RANGE 0x000E |
#define SMARTSENS_CMD_CONFIGURE_SENSOR 0x000D |
#define SMARTSENS_CMD_CTRL_FIFO_FORMAT 0x0015 |
#define SMARTSENS_CMD_DEBUG_TEST 0x0010 |
#define SMARTSENS_CMD_DOWNLOAD_POST_MORTEM_DATA 0x0001 |
Smart Sens control commands.
Specified commands for control of Smart Sens Click driver.
#define SMARTSENS_CMD_DUT_CONTINUE 0x0011 |
#define SMARTSENS_CMD_DUT_START_TEST 0x0012 |
#define SMARTSENS_CMD_ERASE_FLASH 0x0004 |
#define SMARTSENS_CMD_FIFO_FLUSH 0x0009 |
#define SMARTSENS_CMD_INJECT_SENSOR_DATA 0x0008 |
#define SMARTSENS_CMD_META_EVENT_CTRL_FIFO_CTRL 0x0103 |
#define SMARTSENS_CMD_META_EVENT_CTRL_FIRMWARE_VERSION 0x0104 |
#define SMARTSENS_CMD_META_EVENT_CTRL_FRAMEWORK_STATUS 0x0106 |
#define SMARTSENS_CMD_META_EVENT_CTRL_NON_WAKE_UP_FIFO 0x0101 |
#define SMARTSENS_CMD_META_EVENT_CTRL_PHYSICAL_SENSOR_INFO 0x0121 |
#define SMARTSENS_CMD_META_EVENT_CTRL_PHYSICAL_SENSOR_PRESENT 0x0120 |
#define SMARTSENS_CMD_META_EVENT_CTRL_TIMESTAMPS 0x0105 |
#define SMARTSENS_CMD_META_EVENT_CTRL_VIRUAL_SENSOR_PRESENT 0x011F |
#define SMARTSENS_CMD_META_EVENT_CTRL_WAKE_UP_FIFO 0x0102 |
#define SMARTSENS_CMD_RAISE_SPEED 0x0017 |
#define SMARTSENS_CMD_REQUEST_SENSOR_FAST_OFFSET_COMPENSATION 0x000C |
#define SMARTSENS_CMD_REQUEST_SENSOR_SELF_TEST 0x000B |
#define SMARTSENS_CMD_SET_CHANGE_SENSITIVITY 0x000F |
#define SMARTSENS_CMD_SET_SENSOR_DATA_INJECTION 0x0007 |
#define SMARTSENS_CMD_SIC_MATRIX 0x027D |
#define SMARTSENS_CMD_SOFT_PASS_THROUGH 0x000A |
#define SMARTSENS_CMD_SYSTEM_PARAMETERS_READ_MASK 0x1000 |
#define SMARTSENS_CMD_UPLOAD_TO_RAM 0x0002 |
#define SMARTSENS_CMD_VIRTUAL_SENSOR_INFO 0x0300 |
#define SMARTSENS_CMD_WRITE_FLASH 0x0005 |
#define SMARTSENS_FLASH 1 /*< Boot firmware from flash */ |
#define SMARTSENS_FLASHIMG 0 /*< Firmware image for flash include */ |
Smart Sens application preset.
Specified application will use flash or RAM. If you use flash and firmware image is already uploaded to flash you can set SMARTSENS_FLASHIMG to 0 to not include firmware image.
#define SMARTSENS_RAM 0 /*< Upload and boot firmware from RAM */ |
#define SMARTSENS_REG_BOOT_STATUS 0x25 |
#define SMARTSENS_REG_CHIP_CTRL 0x05 |
#define SMARTSENS_REG_CHIP_ID 0x2B |
#define SMARTSENS_REG_COMMAND_INPUT 0x00 |
Smart Sens description register.
Specified register for description of Smart Sens Click driver.
#define SMARTSENS_REG_DEBUG_STATE 0x31 |
#define SMARTSENS_REG_DEBUG_VALUE 0x30 |
#define SMARTSENS_REG_ERROR_AUX 0x2F |
#define SMARTSENS_REG_ERROR_VALUE 0x2E |
#define SMARTSENS_REG_FEATURE_STATUS 0x24 |
#define SMARTSENS_REG_FUSER2_PRODUCT_ID 0x1C |
#define SMARTSENS_REG_FUSER2_REVISION_ID 0x1D |
#define SMARTSENS_REG_HOST_CRC 0x18191A1B |
#define SMARTSENS_REG_HOST_CTRL 0x16 |
#define SMARTSENS_REG_HOST_INTERFACE_CTRL 0x06 |
#define SMARTSENS_REG_HOST_INTERRUPT_CTRL 0x07 |
#define SMARTSENS_REG_HOST_INTERRUPT_TIMESTAMP 0x26 |
#define SMARTSENS_REG_HOST_STATUS 0x17 |
#define SMARTSENS_REG_INTERRUPT_STATUS 0x2D |
#define SMARTSENS_REG_KERNEL_VERSION 0x2021 |
#define SMARTSENS_REG_NON_WAKE_UP_FIFO 0x02 |
#define SMARTSENS_REG_RESET_REQUEST 0x14 |
#define SMARTSENS_REG_ROM_VERSION 0x1E1F |
#define SMARTSENS_REG_STATUS_DEBUG_FIFO 0x03 |
#define SMARTSENS_REG_TIMESTAMP_EVENT_REQUEST 0x15 |
#define SMARTSENS_REG_USER_VERSION 0x2223 |
#define SMARTSENS_REG_WAKE_UP_FIFO 0x01 |
#define SMARTSENS_START_FLASH_ADR 0x00001F84 |
Smart Sens flash start adress for firmware.
Recommended flash address to start writing firmware image.