3.2.2.3 DIAG_ADC_Dma
Returns the status of the ADC_DMA diagnostic
This function verifies the DMA can be successfully used for data transfer during conversions.
DIAG_TEST_STATUS
DIAG_ADC_Dma
(
DIAG_ADC_PERIPHS adc_periph,
DMAC_CHANNEL dma_channel
);
Diagnostic verifies the following faults do not exist
- DMA request error
Operating Mode
- Interface can be used at POST
Precondition
- none
Parameters
- adc_periph - enum value for which ADC peripheral to be tested
- dma_channel - enum value for which DMA channel to
Returns
- DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.
