adc14 2.1.0.0
ADC 14 Registers Settings

Settings for registers of ADC 14 Click driver. More...

Macros

#define ADC14_MEASURE_NUM   100
 ADC 14 default value of the internal voltage reference.
 
#define ADC14_MEASURE_NUM   100
 ADC 14 default value of the internal voltage reference.
 
#define ADC14_RESOLUTION_12BIT   0x0FFFu
 
#define ADC14_RES_DIVIDER   4096.0f
 
#define ADC14_CONVERT_V_T_MV   1000.0f
 
#define ADC14_INT_VREF_2_048V   2.048f
 ADC 14 default value of the internal voltage reference.
 
#define ADC14_EXT_VREF_0V   0.0f
 ADC 14 limits values of the external voltage reference.
 
#define ADC14_EXT_VREF_3_3V   3.3f
 
#define ADC14_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define ADC14_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of ADC 14 Click driver.

Macro Definition Documentation

◆ ADC14_CONVERT_V_T_MV

#define ADC14_CONVERT_V_T_MV   1000.0f

◆ ADC14_EXT_VREF_0V

#define ADC14_EXT_VREF_0V   0.0f

ADC 14 limits values of the external voltage reference.

Limits values of the external voltage reference of ADC 14 Click driver.

◆ ADC14_EXT_VREF_3_3V

#define ADC14_EXT_VREF_3_3V   3.3f

◆ ADC14_INT_VREF_2_048V

#define ADC14_INT_VREF_2_048V   2.048f

ADC 14 default value of the internal voltage reference.

Default value of the internal voltage reference of ADC 14 Click driver.

◆ ADC14_MEASURE_NUM [1/2]

#define ADC14_MEASURE_NUM   100

ADC 14 default value of the internal voltage reference.

ADC 14 description setting.

Specified setting for description of ADC 14 Click driver.

◆ ADC14_MEASURE_NUM [2/2]

#define ADC14_MEASURE_NUM   100

ADC 14 default value of the internal voltage reference.

ADC 14 description setting.

Specified setting for description of ADC 14 Click driver.

◆ ADC14_RES_DIVIDER

#define ADC14_RES_DIVIDER   4096.0f

◆ ADC14_RESOLUTION_12BIT

#define ADC14_RESOLUTION_12BIT   0x0FFFu

◆ ADC14_SET_DATA_SAMPLE_EDGE

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

◆ ADC14_SET_DATA_SAMPLE_MIDDLE

#define ADC14_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE