Settings for registers of DAC 15 Click driver.
More...
Settings for registers of DAC 15 Click driver.
◆ DAC15_CONFIG_DAC_A_PWDWN
#define DAC15_CONFIG_DAC_A_PWDWN 0x0001u |
◆ DAC15_CONFIG_DAC_A_PWUP
#define DAC15_CONFIG_DAC_A_PWUP 0x0000u |
◆ DAC15_CONFIG_DAC_B_PWDWN
#define DAC15_CONFIG_DAC_B_PWDWN 0x0002u |
◆ DAC15_CONFIG_DAC_B_PWUP
#define DAC15_CONFIG_DAC_B_PWUP 0x0000u |
◆ DAC15_CONFIG_REF_PWDWN
#define DAC15_CONFIG_REF_PWDWN 0x0100u |
◆ DAC15_CONFIG_REF_PWUP
#define DAC15_CONFIG_REF_PWUP 0x0000u |
DAC 15 CONFIG register field descriptions.
Specified CONFIG register field data of DAC 15 Click driver.
◆ DAC15_CONV_DEV_MV_TO_V
#define DAC15_CONV_DEV_MV_TO_V 1000.0f |
◆ DAC15_DAC_RES_16BIT
#define DAC15_DAC_RES_16BIT 0xFFFFu |
DAC 15 calculation data.
Specified calculation data of DAC 15 Click driver.
◆ DAC15_DEVICE_ADDRESS_GND
#define DAC15_DEVICE_ADDRESS_GND 0x48 |
DAC 15 device address setting.
Specified setting for device slave address selection of DAC 15 Click driver.
◆ DAC15_DEVICE_ADDRESS_VCC
#define DAC15_DEVICE_ADDRESS_VCC 0x49 |
◆ DAC15_DEVICE_ID
#define DAC15_DEVICE_ID 0x0295u |
DAC 15 description of device ID data.
Specified device ID data of DAC 15 Click driver.
◆ DAC15_GAIN_BUFF_A_GAIN_1
#define DAC15_GAIN_BUFF_A_GAIN_1 0x0000u |
◆ DAC15_GAIN_BUFF_A_GAIN_2
#define DAC15_GAIN_BUFF_A_GAIN_2 0x0001u |
◆ DAC15_GAIN_BUFF_B_GAIN_1
#define DAC15_GAIN_BUFF_B_GAIN_1 0x0000u |
◆ DAC15_GAIN_BUFF_B_GAIN_2
#define DAC15_GAIN_BUFF_B_GAIN_2 0x0002u |
◆ DAC15_GAIN_REF_DIV_1
#define DAC15_GAIN_REF_DIV_1 0x0000u |
DAC 15 GAIN register field descriptions.
Specified GAIN register field data of DAC 15 Click driver.
◆ DAC15_GAIN_REF_DIV_2
#define DAC15_GAIN_REF_DIV_2 0x0100u |
◆ DAC15_MAX_DAC_DATA
#define DAC15_MAX_DAC_DATA 65535.0f |
◆ DAC15_MAX_VOUT_MV
#define DAC15_MAX_VOUT_MV 3300.0f |
◆ DAC15_SET_DAC_A
#define DAC15_SET_DAC_A 0 |
DAC 15 DAC selection data.
Specified DAC selection data of DAC 15 Click driver.
◆ DAC15_SET_DAC_B
#define DAC15_SET_DAC_B 1 |
◆ DAC15_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 dac15_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ DAC15_SET_DATA_SAMPLE_MIDDLE
◆ DAC15_SYNC_DAC_A_BRDCAST_DIS
#define DAC15_SYNC_DAC_A_BRDCAST_DIS 0x0000u |
◆ DAC15_SYNC_DAC_A_BRDCAST_EN
#define DAC15_SYNC_DAC_A_BRDCAST_EN 0x0080u |
◆ DAC15_SYNC_DAC_A_SYNC_DIS
#define DAC15_SYNC_DAC_A_SYNC_DIS 0x0000u |
◆ DAC15_SYNC_DAC_A_SYNC_EN
#define DAC15_SYNC_DAC_A_SYNC_EN 0x0001u |
◆ DAC15_SYNC_DAC_B_BRDCAST_DIS
#define DAC15_SYNC_DAC_B_BRDCAST_DIS 0x0000u |
DAC 15 SYNC register field descriptions.
Specified SYNC register field data of DAC 15 Click driver.
◆ DAC15_SYNC_DAC_B_BRDCAST_EN
#define DAC15_SYNC_DAC_B_BRDCAST_EN 0x0100u |
◆ DAC15_SYNC_DAC_B_SYNC_DIS
#define DAC15_SYNC_DAC_B_SYNC_DIS 0x0000u |
◆ DAC15_SYNC_DAC_B_SYNC_EN
#define DAC15_SYNC_DAC_B_SYNC_EN 0x0002u |
◆ DAC15_TRIGGER_LDA_SYNC_LOAD_DAC
#define DAC15_TRIGGER_LDA_SYNC_LOAD_DAC 0x0010u |
DAC 15 TRIGGER register field descriptions.
Specified TRIGGER register field data of DAC 15 Click driver.
◆ DAC15_TRIGGER_SOFT_RESET
#define DAC15_TRIGGER_SOFT_RESET 0x000Au |
◆ DAC15_VREF_3V3
#define DAC15_VREF_3V3 3.3f |
◆ DAC15_VREF_5V
#define DAC15_VREF_5V 5.0f |