48 IfxVadc_GroupId groupId;
49 IfxVadc_GroupId master;
50 IfxVadc_Adc_ArbiterConfig arbiter;
51 IfxVadc_Adc_ClassConfig inputClass[IFXVADC_NUMBER_OF_INPUTCLASS];
52 IfxVadc_Adc_ScanConfig scanRequest;
53 IfxVadc_Adc_QueueConfig queueRequest;
54 IfxVadc_Adc_ScanConfig backgroundScanReq;
55 boolean disablePostCalibration;
56 } IfxVadc_Adc_GroupConfig;
59 \section runtimevars Runtime Variables (Handles)
61 Runtime variables are usually stored in so called "handles". This structure is separated from the configuration structure mentioned above (because such structures are only needed during initialization phase).
63 Handles are used to reference resources of a peripheral by interface functions without unnecessary calculation or parameter passing overhead. A handle struct contains at least a pointer to the base address of the peripheral which should be accessed, pointers to peripheral subcomponents where required, and/or indices (such as a channel or timer number).
65 Handles are to be instantiated per instance of the used peripheral. Higher SW layers store knows number of instances required for the intended application and it reserves the memory for these many data structures.
67 The data structure must be made to be available in the DMI RAM of the Cpu from which lld API calls are more frequently done.
69 <B>Example for an handle:</B>
75 IfxVadc_GroupId groupId;
80 [\ref introduction "Previous page"] [\ref lld_api "Next page"]