Defines the configuration structure for an ADC PAL conversion group.
More...
#include <platform/pal/adc/inc/adc_pal.h>
Defines the configuration structure for an ADC PAL conversion group.
Implements : adc_group_config_t_Class
Definition at line 129 of file adc_pal.h.
Callback function associated with group conversion complete
Definition at line 145 of file adc_pal.h.
Pointer to additional user data to be passed by the callback
Definition at line 146 of file adc_pal.h.
Flag for enabling continuous conversions of a group - used only for SW triggered groups i.e. hwTriggerSupport==false.
Definition at line 143 of file adc_pal.h.
Pointer to array of delay values introduced from the occurrence of a HW trigger event until each ADC conversion in the group can start execution. Expressed in clock ticks. Note: the delay might be bigger if there is an overlap with another conversion already executing.
Definition at line 141 of file adc_pal.h.
Type of delay configuration. Supported values are platform dependent.
Definition at line 140 of file adc_pal.h.
Conversion group is HW triggered (true) or SW triggered (false).
Definition at line 137 of file adc_pal.h.
const adc_input_chan_t* inputChannelArray |
Pointer to the array of ADC input channels. Each entry in this array corresponds to an individual conversion in the group. The same input channel may appear multiple times. E.g.: InputChan0,InputChan1,InputChan0,InputChan2
Definition at line 131 of file adc_pal.h.
Number of input channels in the array
Definition at line 134 of file adc_pal.h.
uint8_t numSetsResultBuffer |
Number of sets of results which can be stored in result buffer: length of the result buffer = numChannels x numSetsResultBuffer
Definition at line 135 of file adc_pal.h.
Pointer to the array for conversion results
Definition at line 133 of file adc_pal.h.
adc_trigger_source_t triggerSource |
HW trigger source associated with the conversion group. Will be ignored if (hwTriggerSupport == false). Note for MPC574xP: this enables the HW trigger source for all other groups; the actual order of execution of groups depends on the order of occurrence of triggers.
Definition at line 138 of file adc_pal.h.
The documentation for this struct was generated from the following file: