Settings for registers of DAC 13 Click driver.
More...
Settings for registers of DAC 13 Click driver.
◆ DAC13_DAC_RES_16BIT
#define DAC13_DAC_RES_16BIT 0xFFFF |
◆ DAC13_IDUMP_FASTMODE
#define DAC13_IDUMP_FASTMODE 0x40 |
DAC 13 REFERENCE_CONFIG register setting.
Specified setting for REFERENCE_CONFIG register of DAC 13 Click driver.
◆ DAC13_OUT_RANGE_0_TO_10V
#define DAC13_OUT_RANGE_0_TO_10V 0x02 |
◆ DAC13_OUT_RANGE_0_TO_2p5V
#define DAC13_OUT_RANGE_0_TO_2p5V 0x00 |
DAC 13 out range select setting.
Specified setting for out range select of DAC 13 Click driver.
◆ DAC13_OUT_RANGE_0_TO_5V
#define DAC13_OUT_RANGE_0_TO_5V 0x01 |
◆ DAC13_OUT_RANGE_NEG_2p5_TO_7p5V
#define DAC13_OUT_RANGE_NEG_2p5_TO_7p5V 0x04 |
◆ DAC13_OUT_RANGE_NEG_5_TO_5V
#define DAC13_OUT_RANGE_NEG_5_TO_5V 0x03 |
◆ DAC13_PRODUCT_ID
#define DAC13_PRODUCT_ID 0x400B |
DAC 13 ID setting.
Specified setting for ID of DAC 13 Click driver.
◆ DAC13_REFERENCE_VOLTAGE_SEL_EXT
#define DAC13_REFERENCE_VOLTAGE_SEL_EXT 0x02 |
◆ DAC13_REFERENCE_VOLTAGE_SEL_INT
#define DAC13_REFERENCE_VOLTAGE_SEL_INT 0x00 |
◆ DAC13_REFERENCE_VOLTAGE_SEL_INT_OUT
#define DAC13_REFERENCE_VOLTAGE_SEL_INT_OUT 0x01 |
◆ DAC13_REFERENCE_VOLTAGE_SEL_MASK
#define DAC13_REFERENCE_VOLTAGE_SEL_MASK 0x03 |
◆ DAC13_SET_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 dac13_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ DAC13_SET_DATA_SAMPLE_MIDDLE
◆ DAC13_SPI_READ_BIT
#define DAC13_SPI_READ_BIT 0x80 |
DAC 13 SPI read/write bit setting.
Specified setting for SPI read/write bit of DAC 13 Click driver.
◆ DAC13_VENDOR_ID
#define DAC13_VENDOR_ID 0x0456 |
◆ DAC13_VFS_OUT_RANGE_0_TO_10V
#define DAC13_VFS_OUT_RANGE_0_TO_10V ( 10.164f ) |
◆ DAC13_VFS_OUT_RANGE_0_TO_2p5V
#define DAC13_VFS_OUT_RANGE_0_TO_2p5V ( 2.701f ) |
◆ DAC13_VFS_OUT_RANGE_0_TO_5V
#define DAC13_VFS_OUT_RANGE_0_TO_5V ( 5.077f ) |
◆ DAC13_VFS_OUT_RANGE_NEG_2p5_TO_7p5V
#define DAC13_VFS_OUT_RANGE_NEG_2p5_TO_7p5V ( 7.663f ) |
◆ DAC13_VFS_OUT_RANGE_NEG_5_TO_5V
#define DAC13_VFS_OUT_RANGE_NEG_5_TO_5V ( 5.162f ) |
◆ DAC13_VZS_OUT_RANGE_0_TO_10V
#define DAC13_VZS_OUT_RANGE_0_TO_10V ( -0.162f ) |
◆ DAC13_VZS_OUT_RANGE_0_TO_2p5V
#define DAC13_VZS_OUT_RANGE_0_TO_2p5V ( -0.197f ) |
DAC 13 voltage output setting.
Specified setting for voltage output of DAC 13 Click driver.
◆ DAC13_VZS_OUT_RANGE_0_TO_5V
#define DAC13_VZS_OUT_RANGE_0_TO_5V ( -0.077f ) |
◆ DAC13_VZS_OUT_RANGE_NEG_2p5_TO_7p5V
#define DAC13_VZS_OUT_RANGE_NEG_2p5_TO_7p5V ( -2.663f ) |
◆ DAC13_VZS_OUT_RANGE_NEG_5_TO_5V
#define DAC13_VZS_OUT_RANGE_NEG_5_TO_5V ( -5.164f ) |