dac14 2.1.0.0
|
Settings for registers of DAC 14 Click driver. More...
Settings for registers of DAC 14 Click driver.
#define DAC14_CC_DEV_LOCK 0x4000 |
#define DAC14_CC_EE_READ_ADDR 0x2000 |
#define DAC14_CC_EN_INT_REF 0x1000 |
#define DAC14_CC_IOUT_PDN_0_MASK 0x0200 |
#define DAC14_CC_IOUT_PDN_0_POWER_DOWN 0x0200 |
#define DAC14_CC_IOUT_PDN_0_POWER_UP 0x0000 |
#define DAC14_CC_IOUT_PDN_1_MASK 0x0001 |
#define DAC14_CC_IOUT_PDN_1_POWER_DOWN 0x0001 |
#define DAC14_CC_IOUT_PDN_1_POWER_UP 0x0000 |
#define DAC14_CC_RESERVED 0x0088 |
#define DAC14_CC_VOUT_PDN_0_MASK 0x0C00 |
#define DAC14_CC_VOUT_PDN_0_POWER_DOWN_100K 0x0800 |
#define DAC14_CC_VOUT_PDN_0_POWER_DOWN_10K 0x0400 |
#define DAC14_CC_VOUT_PDN_0_POWER_DOWN_Z 0x0C00 |
#define DAC14_CC_VOUT_PDN_0_POWER_UP 0x0000 |
#define DAC14_CC_VOUT_PDN_1_MASK 0x0006 |
#define DAC14_CC_VOUT_PDN_1_POWER_DOWN_100K 0x0004 |
#define DAC14_CC_VOUT_PDN_1_POWER_DOWN_10K 0x0002 |
#define DAC14_CC_VOUT_PDN_1_POWER_DOWN_Z 0x0006 |
#define DAC14_CC_VOUT_PDN_1_POWER_UP 0x0000 |
#define DAC14_CC_WIN_LATCH_EN 0x8000 |
DAC 14 COMMON_CONFIG register setting.
Specified setting for COMMON_CONFIG register of DAC 14 Click driver.
#define DAC14_CDT_RESET_CMP_FLAG_0 0x0008 |
#define DAC14_CDT_RESET_CMP_FLAG_1 0x8000 |
DAC 14 COMMON_DAC_TRIG register setting.
Specified setting for COMMON_DAC_TRIG register of DAC 14 Click driver.
#define DAC14_CDT_START_FUNC_0 0x0001 |
#define DAC14_CDT_START_FUNC_1 0x1000 |
#define DAC14_CDT_STOP_FUNC_0 0x0000 |
#define DAC14_CDT_STOP_FUNC_1 0x0000 |
#define DAC14_CDT_TRIG_MAR_HI_0 0x0002 |
#define DAC14_CDT_TRIG_MAR_HI_1 0x2000 |
#define DAC14_CDT_TRIG_MAR_LO_0 0x0004 |
#define DAC14_CDT_TRIG_MAR_LO_1 0x4000 |
#define DAC14_CODE_STEP_16_LSB 6 |
#define DAC14_CODE_STEP_1_LSB 0 |
DAC 14 DAC code step setting.
Specified setting for DAC code step of DAC 14 Click driver.
#define DAC14_CODE_STEP_2_LSB 1 |
#define DAC14_CODE_STEP_32_LSB 7 |
#define DAC14_CODE_STEP_3_LSB 2 |
#define DAC14_CODE_STEP_4_LSB 3 |
#define DAC14_CODE_STEP_6_LSB 4 |
#define DAC14_CODE_STEP_8_LSB 5 |
#define DAC14_DAC_DATA_MAX 1023 |
DAC 14 DAC setting.
Specified setting for DAC setting of DAC 14 Click driver.
#define DAC14_DAC_DATA_MIN 0 |
#define DAC14_DEVICE_ADDRESS_GND 0x48 |
DAC 14 device address setting.
Specified setting for device slave address selection of DAC 14 Click driver.
#define DAC14_DEVICE_ADDRESS_SCL 0x4B |
#define DAC14_DEVICE_ADDRESS_SDA 0x4A |
#define DAC14_DEVICE_ADDRESS_VCC 0x49 |
#define DAC14_DEVICE_ID 0x1C |
#define DAC14_DEVICE_ID_MASK 0xFC |
DAC 14 device ID setting.
Specified setting for device ID of DAC 14 Click driver.
#define DAC14_DXFC_BRD_CONFIG_X 0x2000 |
#define DAC14_DXFC_CLR_SEL_X 0x8000 |
DAC 14 DAC_X_FUNC_CONFIG register setting.
Specified setting for DAC_X_FUNC_CONFIG register of DAC 14 Click driver.
#define DAC14_DXFC_CODE_STEP_X_1 0x0000 |
#define DAC14_DXFC_CODE_STEP_X_16 0x0060 |
#define DAC14_DXFC_CODE_STEP_X_2 0x0010 |
#define DAC14_DXFC_CODE_STEP_X_3 0x0020 |
#define DAC14_DXFC_CODE_STEP_X_32 0x0070 |
#define DAC14_DXFC_CODE_STEP_X_4 0x0030 |
#define DAC14_DXFC_CODE_STEP_X_6 0x0040 |
#define DAC14_DXFC_CODE_STEP_X_8 0x0050 |
#define DAC14_DXFC_CODE_STEP_X_MASK 0x0070 |
#define DAC14_DXFC_FUNC_CONFIG_X_DIS_FC 0x0700 |
#define DAC14_DXFC_FUNC_CONFIG_X_INV_SAWTH 0x0200 |
#define DAC14_DXFC_FUNC_CONFIG_X_MASK 0x0700 |
#define DAC14_DXFC_FUNC_CONFIG_X_SAWTH 0x0100 |
#define DAC14_DXFC_FUNC_CONFIG_X_SINE 0x0400 |
#define DAC14_DXFC_FUNC_CONFIG_X_TRIANGULAR 0x0000 |
#define DAC14_DXFC_LOG_SLEW_EN_X 0x0080 |
#define DAC14_DXFC_PHASE_SEL_X_0_DEG 0x0000 |
#define DAC14_DXFC_PHASE_SEL_X_120_DEG 0x0800 |
#define DAC14_DXFC_PHASE_SEL_X_240_DEG 0x1000 |
#define DAC14_DXFC_PHASE_SEL_X_90_DEG 0x1800 |
#define DAC14_DXFC_PHASE_SEL_X_MASK 0x1800 |
#define DAC14_DXFC_SLEW_RATE_X_1282_US 0x000D |
#define DAC14_DXFC_SLEW_RATE_X_12_US 0x0003 |
#define DAC14_DXFC_SLEW_RATE_X_136_72_US 0x0009 |
#define DAC14_DXFC_SLEW_RATE_X_18_US 0x0004 |
#define DAC14_DXFC_SLEW_RATE_X_239_2_US 0x000A |
#define DAC14_DXFC_SLEW_RATE_X_2563_96_US 0x000E |
#define DAC14_DXFC_SLEW_RATE_X_27_04_US 0x0005 |
#define DAC14_DXFC_SLEW_RATE_X_40_48_US 0x0006 |
#define DAC14_DXFC_SLEW_RATE_X_418_64_US 0x000B |
#define DAC14_DXFC_SLEW_RATE_X_4_US 0x0001 |
#define DAC14_DXFC_SLEW_RATE_X_5127_92_US 0x000F |
#define DAC14_DXFC_SLEW_RATE_X_60_72_US 0x0007 |
#define DAC14_DXFC_SLEW_RATE_X_732_56_US 0x000C |
#define DAC14_DXFC_SLEW_RATE_X_8_US 0x0002 |
#define DAC14_DXFC_SLEW_RATE_X_91_12_US 0x0008 |
#define DAC14_DXFC_SLEW_RATE_X_MASK 0x000F |
#define DAC14_DXFC_SLEW_RATE_X_NO_SR 0x0000 |
#define DAC14_DXFC_SYNC_CONFIG_X 0x4000 |
#define DAC14_EN_VOUT_POWER_DOWN_100K_AGND 2 |
#define DAC14_EN_VOUT_POWER_DOWN_10K_AGND 1 |
#define DAC14_EN_VOUT_POWER_DOWN_HI_Z_AGND 3 |
#define DAC14_EN_VOUT_POWER_UP 0 |
DAC 14 DAC enable setting.
Specified setting for DAC enable of DAC 14 Click driver.
#define DAC14_IC_EN_PMBUS 0x0100 |
#define DAC14_IC_FSDO_EN 0x0004 |
#define DAC14_IC_SDO_DIS 0x0000 |
#define DAC14_IC_SDO_EN 0x0001 |
#define DAC14_IC_TIMEOUT_EN 0x1000 |
DAC 14 INTERFACE_CONFIG register setting.
Specified setting for INTERFACE_CONFIG register of DAC 14 Click driver.
#define DAC14_SEL_DAC_0 0 |
DAC 14 DAC selection setting.
Specified setting for DAC selection of DAC 14 Click driver.
#define DAC14_SEL_DAC_1 1 |
#define DAC14_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
Data sample selection.
This macro sets data samples for SPI modules.
#define DAC14_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
#define DAC14_SLEW_RATE_1282_US 13 |
#define DAC14_SLEW_RATE_12_US 3 |
#define DAC14_SLEW_RATE_136_72_US 9 |
#define DAC14_SLEW_RATE_18_US 4 |
#define DAC14_SLEW_RATE_239_2_US 10 |
#define DAC14_SLEW_RATE_2563_96_US 14 |
#define DAC14_SLEW_RATE_27_04_US 5 |
#define DAC14_SLEW_RATE_40_48_US 6 |
#define DAC14_SLEW_RATE_418_64_US 11 |
#define DAC14_SLEW_RATE_4_US 1 |
#define DAC14_SLEW_RATE_5127_92_US 15 |
#define DAC14_SLEW_RATE_60_72_US 7 |
#define DAC14_SLEW_RATE_732_56_US 12 |
#define DAC14_SLEW_RATE_8_US 2 |
#define DAC14_SLEW_RATE_91_12_US 8 |
#define DAC14_SLEW_RATE_NO_SLEW 0 |
DAC 14 DAC slew rate setting.
Specified setting for DAC slew rate of DAC 14 Click driver.
#define DAC14_VCC_CMP_X_EN 0x0001 |
#define DAC14_VCC_CMP_X_HIZ_IN_EN 0x0004 |
#define DAC14_VCC_CMP_X_INV_EN 0x0002 |
#define DAC14_VCC_CMP_X_OD_EN 0x0010 |
#define DAC14_VCC_CMP_X_OUT_EN 0x0008 |
#define DAC14_VCC_VOUT_GAIN_X_EXT_VREF 0x0000 |
DAC 14 DAC_X_VOUT_CMP_CONFIG register setting.
Specified setting for DAC_X_VOUT_CMP_CONFIG register of DAC 14 Click driver.
#define DAC14_VCC_VOUT_GAIN_X_INT_1_5X 0x0800 |
#define DAC14_VCC_VOUT_GAIN_X_INT_2X 0x0C00 |
#define DAC14_VCC_VOUT_GAIN_X_INT_3X 0x1000 |
#define DAC14_VCC_VOUT_GAIN_X_INT_4X 0x1400 |
#define DAC14_VCC_VOUT_GAIN_X_MASK 0x1C00 |
#define DAC14_VCC_VOUT_GAIN_X_VDD 0x0400 |
#define DAC14_VDD_3V3 3.3f |
DAC 14 DAC VDD setting.
Specified setting for DAC VDD of DAC 14 Click driver.
#define DAC14_VDD_5V 5.0f |
#define DAC14_VREF_EXT 0 |
DAC 14 DAC VREF setting.
Specified setting for DAC VREF of DAC 14 Click driver.
#define DAC14_VREF_INT_1_5X 2 |
#define DAC14_VREF_INT_2X 3 |
#define DAC14_VREF_INT_3X 4 |
#define DAC14_VREF_INT_4X 5 |
#define DAC14_VREF_VDD 1 |
#define DAC14_WAVEFORM_DISABLE 7 |
#define DAC14_WAVEFORM_INV_SAWTOOTH 2 |
#define DAC14_WAVEFORM_SAWTOOTH 1 |
#define DAC14_WAVEFORM_SINE 4 |
#define DAC14_WAVEFORM_TRIANGULAR 0 |
DAC 14 DAC waveform setting.
Specified setting for DAC waveform of DAC 14 Click driver.