isoadc6 2.1.0.0
|
Settings for registers of ISO ADC 6 Click driver. More...
Settings for registers of ISO ADC 6 Click driver.
#define ISOADC6_ALL_ERROR_FLAG_DIS 0x00000000ul |
ISO ADC 6 error register data values.
Error register data values of ISO ADC 6 Click driver.
#define ISOADC6_AN_LDO_TEST_MECH_CHECK 0x00000100ul |
#define ISOADC6_AN_LDO_VTG_MON 0x00000080ul |
#define ISOADC6_CALIB_DEFAULT 1.00f |
#define ISOADC6_CALIB_FAIL_CHECK_EN 0x00040000ul |
#define ISOADC6_CFG_BIP_OP_EN 0x0800u |
#define ISOADC6_CFG_BOUT_CURR_2_MA 0x0400u |
#define ISOADC6_CFG_BOUT_CURR_4_MA 0x0600u |
#define ISOADC6_CFG_BOUT_CURR_500_UA 0x0200u |
#define ISOADC6_CFG_BUFF_ON_AINM_EN 0x0020u |
#define ISOADC6_CFG_BUFF_ON_AINP_EN 0x0040u |
#define ISOADC6_CFG_BUFF_ON_REFIN_NEG_EN 0x0080u |
#define ISOADC6_CFG_BUFF_ON_REFIN_POS_EN 0x0100u |
#define ISOADC6_CFG_SEL_AVDD_REF 0x0018u |
#define ISOADC6_CFG_SEL_INT_REF 0x0010u |
#define ISOADC6_CFG_SEL_REFIN1 0x0000u |
#define ISOADC6_CFG_SEL_REFIN2 0x0008u |
#define ISOADC6_CFG_SET_GAIN_1 0x0000u |
#define ISOADC6_CFG_SET_GAIN_128 0x0007u |
#define ISOADC6_CFG_SET_GAIN_16 0x0004u |
#define ISOADC6_CFG_SET_GAIN_2 0x0001u |
#define ISOADC6_CFG_SET_GAIN_32 0x0005u |
#define ISOADC6_CFG_SET_GAIN_4 0x0002u |
#define ISOADC6_CFG_SET_GAIN_64 0x0006u |
#define ISOADC6_CFG_SET_GAIN_8 0x0003u |
#define ISOADC6_CFG_UNP_OP_BUFF_BOUT_DIS 0x0000u |
ISO ADC 6 config register data values.
Config register data values of ISO ADC 6 Click driver.
#define ISOADC6_CHANNEL_DISABLE 0x0000u |
ISO ADC 6 I/O control 2 setting.
I/O control 2 setting of ISO ADC 6 Click driver.
#define ISOADC6_CHANNEL_ENABLE 0x8000u |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN0 0x0000u |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN1 0x0001u |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN10 0x000Au |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN11 0x000Bu |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN12 0x000Cu |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN13 0x000Du |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN14 0x000Eu |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN15 0x000Fu |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN2 0x0002u |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN3 0x0003u |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN4 0x0004u |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN5 0x0005u |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN6 0x0006u |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN7 0x0007u |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN8 0x0008u |
#define ISOADC6_CHANNEL_NEG_AN_IN_AIN9 0x0009u |
#define ISOADC6_CHANNEL_NEG_AVSS 0x0011u |
#define ISOADC6_CHANNEL_NEG_DGND 0x0013u |
#define ISOADC6_CHANNEL_NEG_INT_REF 0x0012u |
#define ISOADC6_CHANNEL_NEG_TEMP_SENSOR 0x0010u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN0 0x0000u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN1 0x0020u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN10 0x0140u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN11 0x0160u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN12 0x0180u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN13 0x01A0u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN14 0x01C0u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN15 0x01E0u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN2 0x0040u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN3 0x0060u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN4 0x0080u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN5 0x00A0u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN6 0x00C0u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN7 0x00E0u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN8 0x0100u |
#define ISOADC6_CHANNEL_POS_AN_IN_AIN9 0x0120u |
#define ISOADC6_CHANNEL_POS_AVSS 0x0220u |
#define ISOADC6_CHANNEL_POS_DGND 0x0260u |
#define ISOADC6_CHANNEL_POS_INT_REF 0x0240u |
#define ISOADC6_CHANNEL_POS_TEMP_SENSOR 0x0200u |
#define ISOADC6_CONV_FAIL_CHECK_EN 0x00020000ul |
#define ISOADC6_CTRL_CONT_CONV_MODE 0x00000800ul |
#define ISOADC6_CTRL_DATA_STATUS_EN 0x00000400ul |
#define ISOADC6_CTRL_DOUT_PIN_EN 0x00000200ul |
#define ISOADC6_CTRL_FULL_POWER_MODE 0x00000080ul |
#define ISOADC6_CTRL_IDLE_MODE 0x00000010ul |
#define ISOADC6_CTRL_INT_FULL_SCALE_GAIN_CALIB 0x00000018ul |
#define ISOADC6_CTRL_INT_REF_VVTG_EN 0x00000100ul |
#define ISOADC6_CTRL_INT_ZERO_SCALE_OFFSET_CALIB 0x00000014ul |
#define ISOADC6_CTRL_MID_POWER_MODE 0x00000040ul |
#define ISOADC6_CTRL_MODE_MASK 0x0000003Cul |
#define ISOADC6_CTRL_RDY_DELAY_100NS 0x00001000ul |
#define ISOADC6_CTRL_RDY_LOW_PWR_MODE_RDY_EN 0x00000000ul |
ISO ADC 6 channel register control setting.
Channel register control setting of ISO ADC 6 Click driver.
#define ISOADC6_CTRL_SINGLE_CONV_MODE 0x00000004ul |
#define ISOADC6_CTRL_SINGLE_PWR_DOWN_MODE 0x0000000Cul |
#define ISOADC6_CTRL_STANDBY_MODE 0x00000008ul |
#define ISOADC6_CTRL_SYS_FULL_SCALE_GAIN_CALIB 0x00000020ul |
#define ISOADC6_CTRL_SYS_ZERO_SCALE_OFFSET_CALIB 0x0000001Cul |
#define ISOADC6_DEV_ID_REV_BIT_MASK 0xF0 |
#define ISOADC6_DEVICE_ID 0x01 |
#define ISOADC6_DIG_LDO_TEST_MECH_CHECK 0x00000400ul |
#define ISOADC6_DIG_LDO_VTG_MONITORING 0x00000200ul |
#define ISOADC6_EXT_REF_DET_ERROR 0x00000800ul |
#define ISOADC6_GAIN_COEFF 0x00400000ul |
#define ISOADC6_IO_CON1_BRIGDE_PWR_DOWN_EN 0x00008000ul |
#define ISOADC6_IO_CON1_DOUT_PIN_P1_EN 0x00010000ul |
#define ISOADC6_IO_CON1_DOUT_PIN_P2_EN 0x00020000ul |
#define ISOADC6_IO_CON1_DOUT_PIN_P3_EN 0x00040000ul |
#define ISOADC6_IO_CON1_DOUT_PIN_P4_EN 0x00080000ul |
#define ISOADC6_IO_CON1_DOUT_PINS_DIS 0x00000000ul |
ISO ADC 6 channel configuration data values.
Channel configuration data values of ISO ADC 6 Click driver.
#define ISOADC6_IO_CON1_IOUT0_AIN0_PIN_ON 0x00000000ul |
#define ISOADC6_IO_CON1_IOUT0_AIN10_PIN_ON 0x0000000Aul |
#define ISOADC6_IO_CON1_IOUT0_AIN11_PIN_ON 0x0000000Bul |
#define ISOADC6_IO_CON1_IOUT0_AIN12_PIN_ON 0x0000000Cul |
#define ISOADC6_IO_CON1_IOUT0_AIN13_PIN_ON 0x0000000Dul |
#define ISOADC6_IO_CON1_IOUT0_AIN14_PIN_ON 0x0000000Eul |
#define ISOADC6_IO_CON1_IOUT0_AIN15_PIN_ON 0x0000000Ful |
#define ISOADC6_IO_CON1_IOUT0_AIN1_PIN_ON 0x00000001ul |
#define ISOADC6_IO_CON1_IOUT0_AIN2_PIN_ON 0x00000002ul |
#define ISOADC6_IO_CON1_IOUT0_AIN3_PIN_ON 0x00000003ul |
#define ISOADC6_IO_CON1_IOUT0_AIN4_PIN_ON 0x00000004ul |
#define ISOADC6_IO_CON1_IOUT0_AIN5_PIN_ON 0x00000005ul |
#define ISOADC6_IO_CON1_IOUT0_AIN6_PIN_ON 0x00000006ul |
#define ISOADC6_IO_CON1_IOUT0_AIN7_PIN_ON 0x00000007ul |
#define ISOADC6_IO_CON1_IOUT0_AIN8_PIN_ON 0x00000008ul |
#define ISOADC6_IO_CON1_IOUT0_AIN9_PIN_ON 0x00000009ul |
#define ISOADC6_IO_CON1_IOUT0_MIKRO_A_100 0x00000200ul |
#define ISOADC6_IO_CON1_IOUT0_MIKRO_A_1000 0x00000600ul |
#define ISOADC6_IO_CON1_IOUT0_MIKRO_A_250 0x00000300ul |
#define ISOADC6_IO_CON1_IOUT0_MIKRO_A_50 0x00000100ul |
#define ISOADC6_IO_CON1_IOUT0_MIKRO_A_500 0x00000400ul |
#define ISOADC6_IO_CON1_IOUT0_MIKRO_A_750 0x00000500ul |
#define ISOADC6_IO_CON1_IOUT1_AIN0_PIN_ON 0x00000000ul |
#define ISOADC6_IO_CON1_IOUT1_AIN10_PIN_ON 0x000000A0ul |
#define ISOADC6_IO_CON1_IOUT1_AIN11_PIN_ON 0x000000B0ul |
#define ISOADC6_IO_CON1_IOUT1_AIN12_PIN_ON 0x000000C0ul |
#define ISOADC6_IO_CON1_IOUT1_AIN13_PIN_ON 0x000000D0ul |
#define ISOADC6_IO_CON1_IOUT1_AIN14_PIN_ON 0x000000E0ul |
#define ISOADC6_IO_CON1_IOUT1_AIN15_PIN_ON 0x000000F0ul |
#define ISOADC6_IO_CON1_IOUT1_AIN1_PIN_ON 0x00000010ul |
#define ISOADC6_IO_CON1_IOUT1_AIN2_PIN_ON 0x00000020ul |
#define ISOADC6_IO_CON1_IOUT1_AIN3_PIN_ON 0x00000030ul |
#define ISOADC6_IO_CON1_IOUT1_AIN4_PIN_ON 0x00000040ul |
#define ISOADC6_IO_CON1_IOUT1_AIN5_PIN_ON 0x00000050ul |
#define ISOADC6_IO_CON1_IOUT1_AIN6_PIN_ON 0x00000060ul |
#define ISOADC6_IO_CON1_IOUT1_AIN7_PIN_ON 0x00000070ul |
#define ISOADC6_IO_CON1_IOUT1_AIN8_PIN_ON 0x00000080ul |
#define ISOADC6_IO_CON1_IOUT1_AIN9_PIN_ON 0x00000090ul |
#define ISOADC6_IO_CON1_IOUT1_MIKRO_A_100 0x00001000ul |
#define ISOADC6_IO_CON1_IOUT1_MIKRO_A_1000 0x00003000ul |
#define ISOADC6_IO_CON1_IOUT1_MIKRO_A_250 0x00001800ul |
#define ISOADC6_IO_CON1_IOUT1_MIKRO_A_50 0x00000800ul |
#define ISOADC6_IO_CON1_IOUT1_MIKRO_A_500 0x00002000ul |
#define ISOADC6_IO_CON1_IOUT1_MIKRO_A_750 0x00002800ul |
#define ISOADC6_IO_CON1_SET_DOUT_PIN_P1 0x00100000ul |
#define ISOADC6_IO_CON1_SET_DOUT_PIN_P2 0x00200000ul |
#define ISOADC6_IO_CON1_SET_DOUT_PIN_P3 0x00400000ul |
#define ISOADC6_IO_CON1_SET_DOUT_PIN_P4 0x00800000ul |
#define ISOADC6_IO_CON2_VBIAS_AIN0_CH_EN_ON 0x0001u |
#define ISOADC6_IO_CON2_VBIAS_AIN10_CH_EN_ON 0x0400u |
#define ISOADC6_IO_CON2_VBIAS_AIN11_CH_EN_ON 0x0800u |
#define ISOADC6_IO_CON2_VBIAS_AIN12_CH_EN_ON 0x1000u |
#define ISOADC6_IO_CON2_VBIAS_AIN13_CH_EN_ON 0x2000u |
#define ISOADC6_IO_CON2_VBIAS_AIN14_CH_EN_ON 0x4000u |
#define ISOADC6_IO_CON2_VBIAS_AIN15_CH_EN_ON 0x8000u |
#define ISOADC6_IO_CON2_VBIAS_AIN1_CH_EN_ON 0x0002u |
#define ISOADC6_IO_CON2_VBIAS_AIN2_CH_EN_ON 0x0004u |
#define ISOADC6_IO_CON2_VBIAS_AIN3_CH_EN_ON 0x0008u |
#define ISOADC6_IO_CON2_VBIAS_AIN4_CH_EN_ON 0x0010u |
#define ISOADC6_IO_CON2_VBIAS_AIN5_CH_EN_ON 0x0020u |
#define ISOADC6_IO_CON2_VBIAS_AIN6_CH_EN_ON 0x0040u |
#define ISOADC6_IO_CON2_VBIAS_AIN7_CH_EN_ON 0x0080u |
#define ISOADC6_IO_CON2_VBIAS_AIN8_CH_EN_ON 0x0100u |
#define ISOADC6_IO_CON2_VBIAS_AIN9_CH_EN_ON 0x0200u |
#define ISOADC6_IO_CON2_VBIAS_DISABLE 0x0000u |
ISO ADC 6 I/O control 2 setting.
I/O control 2 setting of ISO ADC 6 Click driver.
#define ISOADC6_LEN_REG_BYTE 1 |
#define ISOADC6_LEN_REG_DWORD 3 |
#define ISOADC6_LEN_REG_ERROR 0 |
ISO ADC 6 register length data value.
Register length data value of ISO ADC 6 Click driver.
#define ISOADC6_LEN_REG_WORD 2 |
#define ISOADC6_NEW_DATA_BIT_MASK 0x80 |
ISO ADC 6 data ready status.
Data ready status of ISO ADC 6 Click driver.
#define ISOADC6_NEW_DATA_IS_READY 0x00 |
#define ISOADC6_NEW_DATA_NOT_READY 0x01 |
#define ISOADC6_OVERVTG_MON_ON_AINM_CH_EN 0x00002000ul |
#define ISOADC6_OVERVTG_MON_ON_AINP_CH_EN 0x00008000ul |
#define ISOADC6_SAT_CHECK_EN 0x00010000ul |
#define ISOADC6_SEL_CH_0 0 |
ISO ADC 6 channel selection.
Specified channel selection of ISO ADC 6 Click driver.
#define ISOADC6_SEL_CH_1 1 |
#define ISOADC6_SEL_CH_10 10 |
#define ISOADC6_SEL_CH_11 11 |
#define ISOADC6_SEL_CH_12 12 |
#define ISOADC6_SEL_CH_13 13 |
#define ISOADC6_SEL_CH_14 14 |
#define ISOADC6_SEL_CH_15 15 |
#define ISOADC6_SEL_CH_2 2 |
#define ISOADC6_SEL_CH_3 3 |
#define ISOADC6_SEL_CH_4 4 |
#define ISOADC6_SEL_CH_5 5 |
#define ISOADC6_SEL_CH_6 6 |
#define ISOADC6_SEL_CH_7 7 |
#define ISOADC6_SEL_CH_8 8 |
#define ISOADC6_SEL_CH_9 9 |
#define ISOADC6_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
Data sample selection.
This macro sets data samples for SPI modules.
#define ISOADC6_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
#define ISOADC6_SIL_REV_BIT_MASK 0x0F |
ISO ADC 6 device ID values.
Device ID values of ISO ADC 6 Click driver.
#define ISOADC6_SILICON_REVISION 0x04 |
#define ISOADC6_SPI_CRC_CALC_PERF_ON_MEMORY 0x00000002ul |
#define ISOADC6_SPI_CRC_CHECK 0x00000004ul |
#define ISOADC6_SPI_IGNORE_ERROR 0x00000040ul |
#define ISOADC6_SPI_READ_ERROR_CHECK 0x00000010ul |
#define ISOADC6_SPI_SCLK_CNT_ERROR_CHECK 0x00000020ul |
#define ISOADC6_SPI_WRITE_ERROR_CHECK 0x00000008ul |
#define ISOADC6_UNDERVTG_MON_ON_AINM_CH_EN 0x00001000ul |
#define ISOADC6_UNDERVTG_MON_ON_AINP_CH_EN 0x00004000ul |
#define ISOADC6_VTG_REF_2_65_V 2.65f |
ISO ADC 6 voltage reference and calibration data values.
Voltage reference data of ISO ADC 6 Click driver.
#define ISOADC6ANALOG_LDO_CALIB_CHECK_EN 0x00080000ul |
#define ISOADC6DIGITAL_LDO_CALIB_CHECK_EN 0x00100000ul |
#define ISOADC6LDO_CAP_TEST_CHECK_EN 0x00200000ul |
#define ISOADC6LDO_CHECK_DIS 0x00180000ul |
#define ISOADC6MASTER_CLK_CNT_EN 0x00400000ul |