adc19 2.0.0.0
ADC 19 Settings

Settings of ADC 19 Click driver. More...

Macros

#define ADC19_INPUT_CHANNEL_1   1
 ADC 19 input channel selection.
 
#define ADC19_INPUT_CHANNEL_2   2
 
#define ADC19_RESOLUTION_12BIT   0x0FFF
 ADC 19 resolution and vref settings.
 
#define ADC19_VREF_3V3   3.3
 
#define ADC19_VREF_5V   5.0
 
#define ADC19_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define ADC19_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings of ADC 19 Click driver.

Macro Definition Documentation

◆ ADC19_INPUT_CHANNEL_1

#define ADC19_INPUT_CHANNEL_1   1

ADC 19 input channel selection.

Specified input channel selection setting of ADC 19 Click driver.

◆ ADC19_INPUT_CHANNEL_2

#define ADC19_INPUT_CHANNEL_2   2

◆ ADC19_RESOLUTION_12BIT

#define ADC19_RESOLUTION_12BIT   0x0FFF

ADC 19 resolution and vref settings.

Specified resolution and vref settings of ADC 19 Click driver.

◆ ADC19_SET_DATA_SAMPLE_EDGE

#define ADC19_SET_DATA_SAMPLE_EDGE   SET_SPI_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 adc19_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ ADC19_SET_DATA_SAMPLE_MIDDLE

#define ADC19_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ ADC19_VREF_3V3

#define ADC19_VREF_3V3   3.3

◆ ADC19_VREF_5V

#define ADC19_VREF_5V   5.0