Cypress CSDADC Middleware Library 2.10
Macros

General Description

This section describes the CSDADC macros that 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.

Macros

#define CY_CSDADC_MW_VERSION_MAJOR   (2)
 Middleware major version.
 
#define CY_CSDADC_MW_VERSION_MINOR   (10)
 Middleware minor version.
 
#define CY_CSDADC_ID   (CY_PDL_DRV_ID(0x43u))
 CSDADC PDL ID.
 
#define CY_CSDADC_MAX_CHAN_NUM   (32u)
 The CSDADC max channels number.
 
#define CY_CSDADC_NO_CHANNEL   (0xFFu)
 The parameter for no active CSDADC channel indication.
 
#define CY_CSDADC_COUNTER_CHAN_MASK   (0xF8000000uL)
 The channel counter mask for the CSDADC operation counter.
 
#define CY_CSDADC_COUNTER_CYCLE_MASK   (0x07FFFFFFuL)
 The cycle counter mask for the CSDADC operation counter.
 
#define CY_CSDADC_COUNTER_CHAN_POS   (27u)
 The channel counter position in the CSDADC operation counter.
 
#define CY_CSDADC_COUNTER_BAD_PARAM   (0xFFFFFFFFuL)
 The conversion status function return for the NULL context pointer.
 
#define CY_CSDADC_MEASUREMENT_FAILED   (0xFFFFFFFFuL)
 The measurement function return for a fail case.