Describes the data structures defined by the CSDADC.
The CSDADC MW use structures for the input channel pins, conversion results, MW configuration and context. The pin structure is included into the configuration structure and both can be defined by the user with the CSD personality in the Device Configurator or manually if the user does not use ModusToolbox™. The result structure is included into the context structure and contains voltages and ADC codes for all 32 input channels of more recent conversions. Besides the result structure, the context structure contains a copy of the configuration structure, the current CSDADC MW state data and calibration data. The context structure is allocated by the user and passed to all CSDADC MW functions. The CSDADC MW structure sizes are shown in the table below:
|
typedef void(* | cy_csdadc_callback_t) (void *ptrCxt) |
| Provides the typedef for the callback function that is intended to be called when the "End Of Conversion" cycle callback event occurs.
|
|