adc15 2.0.0.0
ADC 15 Registers Settings

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

Macros

#define ADC15_FREQ_MODE_HIGH_RESOLUTION   8192000
 ADC 15 frequency mode settings.
 
#define ADC15_FREQ_MODE_LOW_POWER   4096000
 
#define ADC15_FREQ_MODE_VERY_LOW_POWER   2048000
 
#define ADC15_LDC_CFG_POWER_ON   2
 ADC 15 LDC power settings.
 
#define ADC15_LDC_CFG_POWER_DOWN   3
 
#define ADC15_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define ADC15_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of ADC 15 Click driver.

Macro Definition Documentation

◆ ADC15_FREQ_MODE_HIGH_RESOLUTION

#define ADC15_FREQ_MODE_HIGH_RESOLUTION   8192000

ADC 15 frequency mode settings.

Specified setting for frequency-mode of ADC 15 Click driver.

Note
Values are in Hz units.

◆ ADC15_FREQ_MODE_LOW_POWER

#define ADC15_FREQ_MODE_LOW_POWER   4096000

◆ ADC15_FREQ_MODE_VERY_LOW_POWER

#define ADC15_FREQ_MODE_VERY_LOW_POWER   2048000

◆ ADC15_LDC_CFG_POWER_DOWN

#define ADC15_LDC_CFG_POWER_DOWN   3

◆ ADC15_LDC_CFG_POWER_ON

#define ADC15_LDC_CFG_POWER_ON   2

ADC 15 LDC power settings.

Specified setting for LDC power of ADC 15 Click driver.

◆ ADC15_SET_DATA_SAMPLE_EDGE

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

◆ ADC15_SET_DATA_SAMPLE_MIDDLE

#define ADC15_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE