Macros

group group_csdadc_macros

This section describes the CSDADC Macros.

These Macros can be used to check the maximum channel number for defining CSDADC conversion mode and for checking CSDADC conversion counters. Detailed information about the macros is available in each macro description.

Defines

CY_CSDADC_MW_VERSION_MAJOR

Middleware major version.

CY_CSDADC_MW_VERSION_MINOR

Middleware minor version.

CY_CSDADC_ID

CSDADC PDL ID.

CY_CSDADC_MAX_CHAN_NUM

The CSDADC max channels number.

CY_CSDADC_NO_CHANNEL

The parameter for no active CSDADC channel indication.

CY_CSDADC_COUNTER_CHAN_MASK

The channel counter mask for the CSDADC operation counter.

CY_CSDADC_COUNTER_CYCLE_MASK

The cycle counter mask for the CSDADC operation counter.

CY_CSDADC_COUNTER_CHAN_POS

The channel counter position in the CSDADC operation counter.

CY_CSDADC_COUNTER_BAD_PARAM

The conversion status function return for the NULL context pointer.

CY_CSDADC_MEASUREMENT_FAILED

The measurement function return for a fail case.