Settings for registers of ADC 22 Click driver.
More...
Settings for registers of ADC 22 Click driver.
◆ ADC22_ADC_FULL_SCALE
#define ADC22_ADC_FULL_SCALE 4096.0f |
◆ ADC22_ADC_MIDDLE_SCALE
#define ADC22_ADC_MIDDLE_SCALE 2048.0f |
◆ ADC22_ADC_RANGE_10V24
#define ADC22_ADC_RANGE_10V24 10.24f |
◆ ADC22_ADC_RANGE_12V28
#define ADC22_ADC_RANGE_12V28 12.28f |
ADC 22 ADC range data values.
Specified ADC range data values of ADC 22 Click driver.
◆ ADC22_ADC_RANGE_2V56
#define ADC22_ADC_RANGE_2V56 2.56f |
◆ ADC22_ADC_RANGE_5V12
#define ADC22_ADC_RANGE_5V12 5.12f |
◆ ADC22_ADC_RANGE_6V14
#define ADC22_ADC_RANGE_6V14 6.14f |
◆ ADC22_ADC_ZERO_SCALE
#define ADC22_ADC_ZERO_SCALE 2045u |
ADC 22 ADC resolution data values.
Specified ADC resolution data values of ADC 22 Click driver.
◆ ADC22_DATAOUT_CTL_PAR_DIS
#define ADC22_DATAOUT_CTL_PAR_DIS 0x00 |
◆ ADC22_DATAOUT_CTL_PAR_EN
#define ADC22_DATAOUT_CTL_PAR_EN 0x08 |
◆ ADC22_DATAOUT_CTL_VAL_0_S
#define ADC22_DATAOUT_CTL_VAL_0_S 0x04 |
◆ ADC22_DATAOUT_CTL_VAL_1_S
#define ADC22_DATAOUT_CTL_VAL_1_S 0x05 |
◆ ADC22_DATAOUT_CTL_VAL_A_0011_S
#define ADC22_DATAOUT_CTL_VAL_A_0011_S 0x07 |
◆ ADC22_DATAOUT_CTL_VAL_A_01_S
#define ADC22_DATAOUT_CTL_VAL_A_01_S 0x06 |
◆ ADC22_DATAOUT_CTL_VAL_CONV
#define ADC22_DATAOUT_CTL_VAL_CONV 0x00 |
ADC 22 controls the data output by the device data values.
Specified controls the data output by the device values of ADC 22 Click driver.
◆ ADC22_DEVICE_ADDR_MAX
#define ADC22_DEVICE_ADDR_MAX 16 |
ADC 22 identification numbers associated to a device values.
Specified identification numbers associated to a device data values of ADC 22 Click driver.
◆ ADC22_PIN_STATE_HIGH
#define ADC22_PIN_STATE_HIGH 0x01 |
◆ ADC22_PIN_STATE_LOW
#define ADC22_PIN_STATE_LOW 0x00 |
ADC 22 I/O pin state data values.
Specified I/O pin state data values of ADC 22 Click driver.
◆ ADC22_SDO_MODE_ADC_M_CLK
#define ADC22_SDO_MODE_ADC_M_CLK 3 |
◆ ADC22_SDO_MODE_INV
#define ADC22_SDO_MODE_INV 2 |
◆ ADC22_SDO_MODE_SAME_SDI
#define ADC22_SDO_MODE_SAME_SDI 1 |
ADC 22 SDO mode data values.
Specified SDO mode data values of ADC 22 Click driver.
◆ ADC22_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 adc22_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ ADC22_SET_DATA_SAMPLE_MIDDLE
◆ ADC22_SET_RANGE_BIT_MASK
#define ADC22_SET_RANGE_BIT_MASK 0x0F |