Classes |
struct | fw_image_packet |
struct | mm_config |
struct | motion_event |
struct | motion_event_status |
class | motion_module_control |
struct | motion_module_parser |
class | motion_module_state |
struct | motion_module_wraparound |
Enumerations |
enum | adaptor_board_command {
IRB = 0x01,
IWB = 0x02,
GVD = 0x03,
IAP_IRB = 0x04,
IAP_IWB = 0x05,
FRCNT = 0x06,
GLD = 0x07,
GPW = 0x08,
GPR = 0x09,
MMPWR = 0x0A,
DSPWR = 0x0B,
EXT_TRIG = 0x0C,
CX3FWUPD = 0x0D,
MM_SNB = 0x10,
MM_TRB = 0x11,
MM_ACTIVATE = 0x0E
} |
enum | i2c_register {
REG_UCTRL_CFG = 0x00,
REG_INT_ID_CONFIG = 0x04,
REG_INT_TYPE_CONFIG = 0x08,
REG_EEPROM_CMD = 0x0C,
REG_EEPROM_DATA = 0xD0,
REG_TIMER_PRESCALER = 0x14,
REG_TIMER_RESET_VALUE = 0x18,
REG_GYRO_BYPASS_CMD1 = 0x1C,
REG_GYRO_BYPASS_CMD2 = 0x20,
REG_GYRO_BYPASS_RDOUT1 = 0x24,
REG_GYRO_BYPASS_RDOUT2 = 0x28,
REG_ACC_BYPASS_CMD1 = 0x2C,
REG_ACC_BYPASS_CMD2 = 0x30,
REG_ACC_BYPASS_RDOUT1 = 0x34,
REG_ACC_BYPASS_RDOUT2 = 0x38,
REG_REQ_LTR = 0x3C,
REG_STATUS_REG = 0x40,
REG_FIFO_RD = 0x44,
REG_FIRST_INT_IGNORE = 0x48,
REG_IAP_REG = 0x4C,
REG_INT_ENABLE = 0x50,
REG_CURR_PWR_STATE = 0x54,
REG_NEXT_PWR_STATE = 0x58,
REG_ACC_BW = 0x5C,
REG_GYRO_BW = 0x60,
REG_ACC_RANGE = 0x64,
REG_GYRO_RANGE = 0x68,
REG_IMG_VER = 0x6C,
REG_ERROR = 0x70,
REG_JUMP_TO_APP = 0x77
} |
enum | mm_accel_bandwidth { accel_bw_default = 0,
accel_bw_125hz = 1,
accel_bw_250hz = 2
} |
enum | mm_accel_range { accel_range_default = 0,
accel_range_4g = 1,
accel_range_8g = 2,
accel_range_16g = 3
} |
enum | mm_gyro_bandwidth { gyro_bw_default = 0,
gyro_bw_200hz = 1
} |
enum | mm_gyro_range { gyro_range_default = 0,
gyro_range_1000 = 1,
gyro_range_2000 = 2
} |
enum | mm_request { mm_output_undefined = 0,
mm_video_output = 1,
mm_events_output = 2
} |
enum | mm_state { mm_idle = 0,
mm_streaming = 1,
mm_eventing = 2,
mm_full_load = 3
} |
enum | motion_module_errors {
imu_not_responding = 0,
illegal_configuration = 1,
ts_fifo_overflow = 2,
imu_fifo_overflow = 3,
watchdog_reset = 4,
crc_error = 5,
missing_data_from_imu = 6,
bootloader_failure = 7,
eeprom_error = 8,
bist_check_failed = 9,
uctrl_not_responding = 10,
cx3_fifo_overflow = 11,
general_cx3_failure = 12,
cx3_usb_failure = 13,
reserved_1 = 14,
reserved_2 = 15,
max_mm_error
} |
enum | power_states {
PWR_STATE_DNR = 0x00,
PWR_STATE_INIT = 0x02,
PWR_STATE_ACTIVE = 0x03,
PWR_STATE_PAUSE = 0x04,
PWR_STATE_IAP = 0x05
} |
Functions |
void | config (uvc::device &device, uint8_t gyro_bw, uint8_t gyro_range, uint8_t accel_bw, uint8_t accel_range, uint32_t time_seed) |
const char * | get_mm_request_name (mm_request request) |
const char * | get_mm_state_name (mm_state state) |