3.2.23.3 DIAG_SDADC_Dma

Returns the status of the SDADC_DMA diagnostic

This function verifies SDADC DMA transfer capability is working.

DIAG_TEST_STATUS 
DIAG_SDADC_Dma
(
    DIAG_SADC_AIN ain, 
    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

  • ain - analog input
  • dma_channel - dmac channel

Returns

  • DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.