Hardware Abstraction Layer (HAL)
ADC (Analog Digital Converter)

General Description

Features

The CAT1A/CAT2 (PMG/PSoC™ 4/PSoC™ 6) ADC supports the following features:

After initializing the ADC or changing the reference or bypass selection, it may be necessary to wait up to 210 us for the reference buffer to settle. See the architecture TRM (Analog Subsystem -> SAR ADC -> Architecture -> SARREF) for device specific guidance.

#define CYHAL_ADC_AVG_MODE_SEQUENTIAL   (1u << (CYHAL_ADC_AVG_MODE_MAX_SHIFT + 1u))
 Convert all samples to be averaged back to back, before proceeding to the next channel. More...
 

Macro Definition Documentation

◆ CYHAL_ADC_AVG_MODE_SEQUENTIAL

#define CYHAL_ADC_AVG_MODE_SEQUENTIAL   (1u << (CYHAL_ADC_AVG_MODE_MAX_SHIFT + 1u))

Convert all samples to be averaged back to back, before proceeding to the next channel.

Interconnect

In PSoC™ each ADC has a single input trigger which, when activated, will initiate an ADC scan. Each ADC also has an output trigger which will be activated when a scan is completed. This is the default behavior.