Settings for control registers of DAC 12 Click driver.
More...
Settings for control registers of DAC 12 Click driver.
◆ DAC12_DEVICE_ID
#define DAC12_DEVICE_ID 0x2894 |
DAC 12 device ID value.
Specified device ID value of DAC 12 Click driver.
◆ DAC12_DEVICE_ID_MASK
#define DAC12_DEVICE_ID_MASK 0xFFFC |
◆ DAC12_GAIN_REFDIV_EN
#define DAC12_GAIN_REFDIV_EN 0x0100 |
DAC 12 gain register settings.
Specified gain register settings of DAC 12 Click driver.
◆ DAC12_INTERNAL_VREF
#define DAC12_INTERNAL_VREF 2.5 |
DAC 12 vref values.
DAC vref values of DAC 12 Click driver.
◆ DAC12_MAX_DAC_VALUE
#define DAC12_MAX_DAC_VALUE 0x0FFF |
◆ DAC12_MIN_DAC_VALUE
#define DAC12_MIN_DAC_VALUE 0x0000 |
DAC 12 range values.
DAC range values of DAC 12 Click driver.
◆ DAC12_SELECT_CHANNEL_0
#define DAC12_SELECT_CHANNEL_0 0x01 |
◆ DAC12_SELECT_CHANNEL_1
#define DAC12_SELECT_CHANNEL_1 0x02 |
◆ DAC12_SELECT_CHANNEL_2
#define DAC12_SELECT_CHANNEL_2 0x04 |
◆ DAC12_SELECT_CHANNEL_3
#define DAC12_SELECT_CHANNEL_3 0x08 |
◆ DAC12_SELECT_CHANNEL_4
#define DAC12_SELECT_CHANNEL_4 0x10 |
◆ DAC12_SELECT_CHANNEL_5
#define DAC12_SELECT_CHANNEL_5 0x20 |
◆ DAC12_SELECT_CHANNEL_6
#define DAC12_SELECT_CHANNEL_6 0x40 |
◆ DAC12_SELECT_CHANNEL_7
#define DAC12_SELECT_CHANNEL_7 0x80 |
◆ DAC12_SELECT_CHANNEL_ALL
#define DAC12_SELECT_CHANNEL_ALL 0xFF |
◆ DAC12_SELECT_CHANNEL_NONE
#define DAC12_SELECT_CHANNEL_NONE 0x00 |
DAC 12 select channel flags.
Specified channel selection flags of DAC 12 Click driver.
◆ DAC12_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 dac12_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ DAC12_SET_DATA_SAMPLE_MIDDLE
◆ DAC12_SOFT_RESET
#define DAC12_SOFT_RESET 0x000A |
DAC 12 soft reset value.
Specified soft reset value of DAC 12 Click driver.
◆ DAC12_SPI_READ
#define DAC12_SPI_READ 0x80 |
DAC 12 SPI read bit.
Specified SPI read bit of DAC 12 Click driver.