magneticrotary6 2.0.0.0
|
Settings for registers of Magnetic Rotary 6 Click driver. More...
Settings for registers of Magnetic Rotary 6 Click driver.
#define MAGNETICROTARY6_DATA_RESOLUTION 0x3FFFu |
Magnetic Rotary 6 angle calculation values.
Specified angle calculation values of Magnetic Rotary 6 Click driver.
#define MAGNETICROTARY6_DIA_AGC_FIN 0x0200u |
#define MAGNETICROTARY6_DIA_COMP_H 0x0010u |
#define MAGNETICROTARY6_DIA_COMP_L 0x0008u |
#define MAGNETICROTARY6_DIA_CORDIC_OF 0x0004u |
#define MAGNETICROTARY6_DIA_COSOFF_FIN 0x0040u |
#define MAGNETICROTARY6_DIA_FUSA_ERROR 0x0400u |
#define MAGNETICROTARY6_DIA_LOOPSFIN 0x0002u |
#define MAGNETICROTARY6_DIA_MAGHALF_FLAG 0x0020u |
#define MAGNETICROTARY6_DIA_OFF_COMP_FIN 0x0100u |
#define MAGNETICROTARY6_DIA_SINOFF_FIN 0x0080u |
#define MAGNETICROTARY6_DIA_SPI_CNT 0x1800u |
Magnetic Rotary 6 DIA register settings.
Specified settings for DIA register of Magnetic Rotary 6 Click driver.
#define MAGNETICROTARY6_DIA_VDD_MODE_3V 0x0000u |
#define MAGNETICROTARY6_DIA_VDD_MODE_5V 0x0001u |
#define MAGNETICROTARY6_DIE_BOTTOM 0 |
Magnetic Rotary 6 die selection values.
Specified die selection values of Magnetic Rotary 6 Click driver.
#define MAGNETICROTARY6_DIE_TOP 1 |
#define MAGNETICROTARY6_DIR_CCW 1 |
#define MAGNETICROTARY6_DIR_CW 0 |
Magnetic Rotary 6 rotation direction settings.
Specified settings for rotation direction of Magnetic Rotary 6 Click driver.
#define MAGNETICROTARY6_DISABLE_ABI_OFF 0x0002u |
#define MAGNETICROTARY6_DISABLE_BRKHALL_SET 0x003Cu |
#define MAGNETICROTARY6_DISABLE_FILTER_DISABLE 0x0040u |
Magnetic Rotary 6 DISABLE register settings.
Specified settings for DISABLE register of Magnetic Rotary 6 Click driver.
#define MAGNETICROTARY6_DISABLE_UVW_OFF 0x0001u |
#define MAGNETICROTARY6_ECC_CHSUM_MASK 0x007Fu |
#define MAGNETICROTARY6_ECC_EN 0x0080u |
Magnetic Rotary 6 ECC register settings.
Specified settings for ECC register of Magnetic Rotary 6 Click driver.
#define MAGNETICROTARY6_ERRFL_AGC_WARNING 0x0001u |
#define MAGNETICROTARY6_ERRFL_BRKHALL 0x0100u |
#define MAGNETICROTARY6_ERRFL_CMD_ERROR 0x0020u |
#define MAGNETICROTARY6_ERRFL_CORDIC_OF 0x0400u |
Magnetic Rotary 6 ERRFL register settings.
Specified settings for ERRFL register of Magnetic Rotary 6 Click driver.
#define MAGNETICROTARY6_ERRFL_CRC_ERROR 0x0040u |
#define MAGNETICROTARY6_ERRFL_FRAMING_ERROR 0x0010u |
#define MAGNETICROTARY6_ERRFL_MAGHALF 0x0002u |
#define MAGNETICROTARY6_ERRFL_OFF_COMP_NOT_FIN 0x0200u |
#define MAGNETICROTARY6_ERRFL_P2RAM_ERROR 0x0008u |
#define MAGNETICROTARY6_ERRFL_P2RAM_WARNING 0x0004u |
#define MAGNETICROTARY6_ERRFL_WDTST 0x0080u |
#define MAGNETICROTARY6_FULL_CIRCLE 360u |
#define MAGNETICROTARY6_PROG_OTPREF 0x0004u |
#define MAGNETICROTARY6_PROG_PROGEN 0x0001u |
#define MAGNETICROTARY6_PROG_PROGOTP 0x0008u |
#define MAGNETICROTARY6_PROG_PROGVER 0x0040u |
Magnetic Rotary 6 PROG register settings.
Specified settings for PROG register of Magnetic Rotary 6 Click driver.
#define MAGNETICROTARY6_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
Data sample selection.
This macro sets data samples for SPI modules.
#define MAGNETICROTARY6_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
#define MAGNETICROTARY6_SETTINGS1_DIA3_EN 0x0040u |
Magnetic Rotary 6 SETTINGS1 register settings.
Specified settings for SETTINGS1 register of Magnetic Rotary 6 Click driver.
#define MAGNETICROTARY6_SETTINGS1_K_MAX 0x0007u |
#define MAGNETICROTARY6_SETTINGS1_K_MIN 0x0038u |
#define MAGNETICROTARY6_SETTINGS2_ABI_DEC 0x0020u |
#define MAGNETICROTARY6_SETTINGS2_DAECDIS 0x0010u |
#define MAGNETICROTARY6_SETTINGS2_DATA_SELECT 0x0040u |
#define MAGNETICROTARY6_SETTINGS2_DIR_CCW 0x0004u |
#define MAGNETICROTARY6_SETTINGS2_DIR_CW 0x0000u |
#define MAGNETICROTARY6_SETTINGS2_DIR_MASK 0x0004u |
#define MAGNETICROTARY6_SETTINGS2_IWIDTH 0x0001u |
#define MAGNETICROTARY6_SETTINGS2_NOISESET 0x0002u |
#define MAGNETICROTARY6_SETTINGS2_PWMON 0x0080u |
Magnetic Rotary 6 SETTINGS2 register settings.
Specified settings for SETTINGS2 register of Magnetic Rotary 6 Click driver.
#define MAGNETICROTARY6_SETTINGS2_UVW_ABI 0x0008u |
#define MAGNETICROTARY6_SETTINGS3_ABIRES_MASK 0x00E0u |
Magnetic Rotary 6 SETTINGS3 register settings.
Specified settings for SETTINGS3 register of Magnetic Rotary 6 Click driver.
#define MAGNETICROTARY6_SETTINGS3_HYS_MASK 0x0018u |
#define MAGNETICROTARY6_SETTINGS3_UVWPP_1PP 0x0000u |
#define MAGNETICROTARY6_SETTINGS3_UVWPP_2PP 0x0001u |
#define MAGNETICROTARY6_SETTINGS3_UVWPP_3PP 0x0002u |
#define MAGNETICROTARY6_SETTINGS3_UVWPP_4PP 0x0003u |
#define MAGNETICROTARY6_SETTINGS3_UVWPP_5PP 0x0004u |
#define MAGNETICROTARY6_SETTINGS3_UVWPP_6PP 0x0005u |
#define MAGNETICROTARY6_SETTINGS3_UVWPP_7PP 0x0006u |
#define MAGNETICROTARY6_SETTINGS3_UVWPP_MASK 0x0007u |
#define MAGNETICROTARY6_ZPOSL_DIA1_EN 0x0040u |
#define MAGNETICROTARY6_ZPOSL_DIA2_EN 0x0080u |
Magnetic Rotary 6 ZPOSL register settings.
Specified settings for ZPOSL register of Magnetic Rotary 6 Click driver.
#define MAGNETICROTARY6_ZPOSL_LSB 0x003Fu |