isoadc 2.1.0.0
ISO ADC Settings

Settings of ISO ADC Click driver. More...

Macros

#define ISOADC_VEXT_MIN   4.5f
 ISO ADC measurement setting.
 
#define ISOADC_VEXT_5V   5.0f
 
#define ISOADC_VEXT_MAX   5.5f
 
#define ISOADC_ADC_RESOLUTION   65535
 
#define ISOADC_ADC_FSR   320
 
#define ISOADC_ADC_2FSR   ( ISOADC_ADC_FSR * 2 )
 
#define ISOADC_ADC_NUM_AVERAGES   65535
 
#define ISOADC_VOLTAGE_NUM_AVERAGES   10
 
#define ISOADC_TIMEOUT_COUNT   1000
 
#define ISOADC_VOLTAGE_TO_CURRENT   0.1f
 
#define ISOADC_MILLI_TO_ONE   1000
 
#define ISOADC_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define ISOADC_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings of ISO ADC Click driver.

Macro Definition Documentation

◆ ISOADC_ADC_2FSR

#define ISOADC_ADC_2FSR   ( ISOADC_ADC_FSR * 2 )

◆ ISOADC_ADC_FSR

#define ISOADC_ADC_FSR   320

◆ ISOADC_ADC_NUM_AVERAGES

#define ISOADC_ADC_NUM_AVERAGES   65535

◆ ISOADC_ADC_RESOLUTION

#define ISOADC_ADC_RESOLUTION   65535

◆ ISOADC_MILLI_TO_ONE

#define ISOADC_MILLI_TO_ONE   1000

◆ ISOADC_SET_DATA_SAMPLE_EDGE

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

◆ ISOADC_SET_DATA_SAMPLE_MIDDLE

#define ISOADC_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ ISOADC_TIMEOUT_COUNT

#define ISOADC_TIMEOUT_COUNT   1000

◆ ISOADC_VEXT_5V

#define ISOADC_VEXT_5V   5.0f

◆ ISOADC_VEXT_MAX

#define ISOADC_VEXT_MAX   5.5f

◆ ISOADC_VEXT_MIN

#define ISOADC_VEXT_MIN   4.5f

ISO ADC measurement setting.

Specified setting for measurement of ISO ADC Click driver.

◆ ISOADC_VOLTAGE_NUM_AVERAGES

#define ISOADC_VOLTAGE_NUM_AVERAGES   10

◆ ISOADC_VOLTAGE_TO_CURRENT

#define ISOADC_VOLTAGE_TO_CURRENT   0.1f