c6dofimu17 2.0.0.0
6DOF IMU 17 Registers Settings

Settings for registers of 6DOF IMU 17 Click driver. More...

Macros

#define C6DOFIMU17_SET_TEMPERATURE_ENABLED   0xDF
 6DOF IMU 17 description setting.
 
#define C6DOFIMU17_SET_TEMPERATURE_DISABLED   0x20
 
#define C6DOFIMU17_SET_GYRO_OFF_MODE   0x00
 
#define C6DOFIMU17_SET_GYRO_STANDBY_MODE   0x04
 
#define C6DOFIMU17_SET_GYRO_TLOW_NOISE_MODE   0x0C
 
#define C6DOFIMU17_SET_ACCEL_OFF_MODE   0x00
 
#define C6DOFIMU17_SET_ACCEL_LOW_POWER_MODE   0x02
 
#define C6DOFIMU17_SET_ACCEL_LOW_NOISE_MODE   0x03
 
#define C6DOFIMU17_SET_GYRO_FS_SEL_2000_dps   0x00
 
#define C6DOFIMU17_SET_GYRO_FS_SEL_1000_dps   0x01
 
#define C6DOFIMU17_SET_GYRO_FS_SEL_500_dps   0x02
 
#define C6DOFIMU17_SET_GYRO_FS_SEL_250_dps   0x03
 
#define C6DOFIMU17_SET_GYRO_FS_SEL_125_dps   0x04
 
#define C6DOFIMU17_SET_GYRO_FS_SEL_62_5_dps   0x05
 
#define C6DOFIMU17_SET_GYRO_FS_SEL_31_25_dps   0x06
 
#define C6DOFIMU17_SET_GYRO_FS_SEL_16_625_dps   0x07
 
#define C6DOFIMU17_SET_GYRO_ODR_32kHz   0x01
 
#define C6DOFIMU17_SET_GYRO_ODR_16kHz   0x02
 
#define C6DOFIMU17_SET_GYRO_ODR_8kHz   0x03
 
#define C6DOFIMU17_SET_GYRO_ODR_4kHz   0x04
 
#define C6DOFIMU17_SET_GYRO_ODR_2kHz   0x05
 
#define C6DOFIMU17_SET_GYRO_ODR_1kHz   0x06
 
#define C6DOFIMU17_SET_GYRO_ODR_200Hz   0x07
 
#define C6DOFIMU17_SET_GYRO_ODR_100Hz   0x08
 
#define C6DOFIMU17_SET_GYRO_ODR_50Hz   0x09
 
#define C6DOFIMU17_SET_GYRO_ODR_25Hz   0x0A
 
#define C6DOFIMU17_SET_GYRO_ODR_12_5Hz   0x0B
 
#define C6DOFIMU17_SET_GYRO_UI_FILT_ORD_1st   0x00
 
#define C6DOFIMU17_SET_GYRO_UI_FILT_ORD_2st   0x01
 
#define C6DOFIMU17_SET_GYRO_UI_FILT_ORD_3st   0x02
 
#define C6DOFIMU17_SET_GYRO_DEC2_M2_ORD_3st   0x02
 
#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_2   0x00
 
#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_4   0x01
 
#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_5   0x02
 
#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_8   0x03
 
#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_10   0x04
 
#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_16   0x05
 
#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_20   0x06
 
#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_40   0x07
 
#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_LOW_LATENCY_0   0x0E
 
#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_LOW_LATENCY_1   0x0F
 
#define C6DOFIMU17_SET_ACCEL_FS_SEL_16g   0x00
 
#define C6DOFIMU17_SET_ACCEL_FS_SEL_8g   0x01
 
#define C6DOFIMU17_SET_ACCEL_FS_SEL_4g   0x02
 
#define C6DOFIMU17_SET_ACCEL_FS_SEL_2g   0x03
 
#define C6DOFIMU17_SET_ACCEL_ODR_32kHz   0x01
 
#define C6DOFIMU17_SET_ACCEL_ODR_16kHz   0x02
 
#define C6DOFIMU17_SET_ACCEL_ODR_8kHz   0x03
 
#define C6DOFIMU17_SET_ACCEL_ODR_4kHz   0x04
 
#define C6DOFIMU17_SET_ACCEL_ODR_2kHz   0x05
 
#define C6DOFIMU17_SET_ACCEL_ODR_1kHz   0x06
 
#define C6DOFIMU17_SET_ACCEL_ODR_200Hz   0x07
 
#define C6DOFIMU17_SET_ACCEL_ODR_100Hz   0x08
 
#define C6DOFIMU17_SET_ACCEL_ODR_50Hz   0x09
 
#define C6DOFIMU17_SET_ACCEL_ODR_25Hz   0x0A
 
#define C6DOFIMU17_SET_ACCEL_ODR_12_5Hz   0x0B
 
#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_2   0x00
 
#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_4   0x01
 
#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_5   0x02
 
#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_8   0x03
 
#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_10   0x04
 
#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_16   0x05
 
#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_20   0x06
 
#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_40   0x07
 
#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_LOW_LATENCY_0   0x0E
 
#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_LOW_LATENCY_1   0x0F
 
#define C6DOFIMU17_SET_ACCEL_UI_FILT_ORD_1st   0x00
 
#define C6DOFIMU17_SET_ACCEL_UI_FILT_ORD_2st   0x01
 
#define C6DOFIMU17_SET_ACCEL_UI_FILT_ORD_3st   0x02
 
#define C6DOFIMU17_SET_ACCEL_DEC2_M2_ORD_3st   0x02
 
#define C6DOFIMU17_SET_BANK_0   0x00
 
#define C6DOFIMU17_SET_BANK_1   0x01
 
#define C6DOFIMU17_SET_BANK_2   0x02
 
#define C6DOFIMU17_SET_BANK_3   0x03
 
#define C6DOFIMU17_SET_BANK_4   0x04
 
#define C6DOFIMU17_SET_DEV_ADDR   0x68
 6DOF IMU 17 device address setting.
 
#define C6DOFIMU17_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define C6DOFIMU17_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of 6DOF IMU 17 Click driver.

Macro Definition Documentation

◆ C6DOFIMU17_SET_ACCEL_DEC2_M2_ORD_3st

#define C6DOFIMU17_SET_ACCEL_DEC2_M2_ORD_3st   0x02

◆ C6DOFIMU17_SET_ACCEL_FS_SEL_16g

#define C6DOFIMU17_SET_ACCEL_FS_SEL_16g   0x00

◆ C6DOFIMU17_SET_ACCEL_FS_SEL_2g

#define C6DOFIMU17_SET_ACCEL_FS_SEL_2g   0x03

◆ C6DOFIMU17_SET_ACCEL_FS_SEL_4g

#define C6DOFIMU17_SET_ACCEL_FS_SEL_4g   0x02

◆ C6DOFIMU17_SET_ACCEL_FS_SEL_8g

#define C6DOFIMU17_SET_ACCEL_FS_SEL_8g   0x01

◆ C6DOFIMU17_SET_ACCEL_LOW_NOISE_MODE

#define C6DOFIMU17_SET_ACCEL_LOW_NOISE_MODE   0x03

◆ C6DOFIMU17_SET_ACCEL_LOW_POWER_MODE

#define C6DOFIMU17_SET_ACCEL_LOW_POWER_MODE   0x02

◆ C6DOFIMU17_SET_ACCEL_ODR_100Hz

#define C6DOFIMU17_SET_ACCEL_ODR_100Hz   0x08

◆ C6DOFIMU17_SET_ACCEL_ODR_12_5Hz

#define C6DOFIMU17_SET_ACCEL_ODR_12_5Hz   0x0B

◆ C6DOFIMU17_SET_ACCEL_ODR_16kHz

#define C6DOFIMU17_SET_ACCEL_ODR_16kHz   0x02

◆ C6DOFIMU17_SET_ACCEL_ODR_1kHz

#define C6DOFIMU17_SET_ACCEL_ODR_1kHz   0x06

◆ C6DOFIMU17_SET_ACCEL_ODR_200Hz

#define C6DOFIMU17_SET_ACCEL_ODR_200Hz   0x07

◆ C6DOFIMU17_SET_ACCEL_ODR_25Hz

#define C6DOFIMU17_SET_ACCEL_ODR_25Hz   0x0A

◆ C6DOFIMU17_SET_ACCEL_ODR_2kHz

#define C6DOFIMU17_SET_ACCEL_ODR_2kHz   0x05

◆ C6DOFIMU17_SET_ACCEL_ODR_32kHz

#define C6DOFIMU17_SET_ACCEL_ODR_32kHz   0x01

◆ C6DOFIMU17_SET_ACCEL_ODR_4kHz

#define C6DOFIMU17_SET_ACCEL_ODR_4kHz   0x04

◆ C6DOFIMU17_SET_ACCEL_ODR_50Hz

#define C6DOFIMU17_SET_ACCEL_ODR_50Hz   0x09

◆ C6DOFIMU17_SET_ACCEL_ODR_8kHz

#define C6DOFIMU17_SET_ACCEL_ODR_8kHz   0x03

◆ C6DOFIMU17_SET_ACCEL_OFF_MODE

#define C6DOFIMU17_SET_ACCEL_OFF_MODE   0x00

◆ C6DOFIMU17_SET_ACCEL_UI_FILT_BW_LOW_LATENCY_0

#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_LOW_LATENCY_0   0x0E

◆ C6DOFIMU17_SET_ACCEL_UI_FILT_BW_LOW_LATENCY_1

#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_LOW_LATENCY_1   0x0F

◆ C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_10

#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_10   0x04

◆ C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_16

#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_16   0x05

◆ C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_2

#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_2   0x00

◆ C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_20

#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_20   0x06

◆ C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_4

#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_4   0x01

◆ C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_40

#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_40   0x07

◆ C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_5

#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_5   0x02

◆ C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_8

#define C6DOFIMU17_SET_ACCEL_UI_FILT_BW_ODR_8   0x03

◆ C6DOFIMU17_SET_ACCEL_UI_FILT_ORD_1st

#define C6DOFIMU17_SET_ACCEL_UI_FILT_ORD_1st   0x00

◆ C6DOFIMU17_SET_ACCEL_UI_FILT_ORD_2st

#define C6DOFIMU17_SET_ACCEL_UI_FILT_ORD_2st   0x01

◆ C6DOFIMU17_SET_ACCEL_UI_FILT_ORD_3st

#define C6DOFIMU17_SET_ACCEL_UI_FILT_ORD_3st   0x02

◆ C6DOFIMU17_SET_BANK_0

#define C6DOFIMU17_SET_BANK_0   0x00

◆ C6DOFIMU17_SET_BANK_1

#define C6DOFIMU17_SET_BANK_1   0x01

◆ C6DOFIMU17_SET_BANK_2

#define C6DOFIMU17_SET_BANK_2   0x02

◆ C6DOFIMU17_SET_BANK_3

#define C6DOFIMU17_SET_BANK_3   0x03

◆ C6DOFIMU17_SET_BANK_4

#define C6DOFIMU17_SET_BANK_4   0x04

◆ C6DOFIMU17_SET_DATA_SAMPLE_EDGE

#define C6DOFIMU17_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE

Data sample selection.

This macro sets data samples for SPI modules.

Note
Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with c6dofimu17_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ C6DOFIMU17_SET_DATA_SAMPLE_MIDDLE

#define C6DOFIMU17_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ C6DOFIMU17_SET_DEV_ADDR

#define C6DOFIMU17_SET_DEV_ADDR   0x68

6DOF IMU 17 device address setting.

Specified setting for device slave address selection of 6DOF IMU 17 Click driver.

◆ C6DOFIMU17_SET_GYRO_DEC2_M2_ORD_3st

#define C6DOFIMU17_SET_GYRO_DEC2_M2_ORD_3st   0x02

◆ C6DOFIMU17_SET_GYRO_FS_SEL_1000_dps

#define C6DOFIMU17_SET_GYRO_FS_SEL_1000_dps   0x01

◆ C6DOFIMU17_SET_GYRO_FS_SEL_125_dps

#define C6DOFIMU17_SET_GYRO_FS_SEL_125_dps   0x04

◆ C6DOFIMU17_SET_GYRO_FS_SEL_16_625_dps

#define C6DOFIMU17_SET_GYRO_FS_SEL_16_625_dps   0x07

◆ C6DOFIMU17_SET_GYRO_FS_SEL_2000_dps

#define C6DOFIMU17_SET_GYRO_FS_SEL_2000_dps   0x00

◆ C6DOFIMU17_SET_GYRO_FS_SEL_250_dps

#define C6DOFIMU17_SET_GYRO_FS_SEL_250_dps   0x03

◆ C6DOFIMU17_SET_GYRO_FS_SEL_31_25_dps

#define C6DOFIMU17_SET_GYRO_FS_SEL_31_25_dps   0x06

◆ C6DOFIMU17_SET_GYRO_FS_SEL_500_dps

#define C6DOFIMU17_SET_GYRO_FS_SEL_500_dps   0x02

◆ C6DOFIMU17_SET_GYRO_FS_SEL_62_5_dps

#define C6DOFIMU17_SET_GYRO_FS_SEL_62_5_dps   0x05

◆ C6DOFIMU17_SET_GYRO_ODR_100Hz

#define C6DOFIMU17_SET_GYRO_ODR_100Hz   0x08

◆ C6DOFIMU17_SET_GYRO_ODR_12_5Hz

#define C6DOFIMU17_SET_GYRO_ODR_12_5Hz   0x0B

◆ C6DOFIMU17_SET_GYRO_ODR_16kHz

#define C6DOFIMU17_SET_GYRO_ODR_16kHz   0x02

◆ C6DOFIMU17_SET_GYRO_ODR_1kHz

#define C6DOFIMU17_SET_GYRO_ODR_1kHz   0x06

◆ C6DOFIMU17_SET_GYRO_ODR_200Hz

#define C6DOFIMU17_SET_GYRO_ODR_200Hz   0x07

◆ C6DOFIMU17_SET_GYRO_ODR_25Hz

#define C6DOFIMU17_SET_GYRO_ODR_25Hz   0x0A

◆ C6DOFIMU17_SET_GYRO_ODR_2kHz

#define C6DOFIMU17_SET_GYRO_ODR_2kHz   0x05

◆ C6DOFIMU17_SET_GYRO_ODR_32kHz

#define C6DOFIMU17_SET_GYRO_ODR_32kHz   0x01

◆ C6DOFIMU17_SET_GYRO_ODR_4kHz

#define C6DOFIMU17_SET_GYRO_ODR_4kHz   0x04

◆ C6DOFIMU17_SET_GYRO_ODR_50Hz

#define C6DOFIMU17_SET_GYRO_ODR_50Hz   0x09

◆ C6DOFIMU17_SET_GYRO_ODR_8kHz

#define C6DOFIMU17_SET_GYRO_ODR_8kHz   0x03

◆ C6DOFIMU17_SET_GYRO_OFF_MODE

#define C6DOFIMU17_SET_GYRO_OFF_MODE   0x00

◆ C6DOFIMU17_SET_GYRO_STANDBY_MODE

#define C6DOFIMU17_SET_GYRO_STANDBY_MODE   0x04

◆ C6DOFIMU17_SET_GYRO_TLOW_NOISE_MODE

#define C6DOFIMU17_SET_GYRO_TLOW_NOISE_MODE   0x0C

◆ C6DOFIMU17_SET_GYRO_UI_FILT_BW_LOW_LATENCY_0

#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_LOW_LATENCY_0   0x0E

◆ C6DOFIMU17_SET_GYRO_UI_FILT_BW_LOW_LATENCY_1

#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_LOW_LATENCY_1   0x0F

◆ C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_10

#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_10   0x04

◆ C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_16

#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_16   0x05

◆ C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_2

#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_2   0x00

◆ C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_20

#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_20   0x06

◆ C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_4

#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_4   0x01

◆ C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_40

#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_40   0x07

◆ C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_5

#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_5   0x02

◆ C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_8

#define C6DOFIMU17_SET_GYRO_UI_FILT_BW_ODR_8   0x03

◆ C6DOFIMU17_SET_GYRO_UI_FILT_ORD_1st

#define C6DOFIMU17_SET_GYRO_UI_FILT_ORD_1st   0x00

◆ C6DOFIMU17_SET_GYRO_UI_FILT_ORD_2st

#define C6DOFIMU17_SET_GYRO_UI_FILT_ORD_2st   0x01

◆ C6DOFIMU17_SET_GYRO_UI_FILT_ORD_3st

#define C6DOFIMU17_SET_GYRO_UI_FILT_ORD_3st   0x02

◆ C6DOFIMU17_SET_TEMPERATURE_DISABLED

#define C6DOFIMU17_SET_TEMPERATURE_DISABLED   0x20

◆ C6DOFIMU17_SET_TEMPERATURE_ENABLED

#define C6DOFIMU17_SET_TEMPERATURE_ENABLED   0xDF

6DOF IMU 17 description setting.

Specified setting for description of 6DOF IMU 17 Click driver.