3.2.24.3 DIAG_SERCOM_USART_Dma
Returns the status of the USART_DMA diagnostic
This function verifiess that the DMA can transfer data from peripheral to user memoryy.
DIAG_TEST_STATUS
DIAG_SERCOM_USART_Dma
(
DIAG_SERCOM_USART_PERIPHS sercom_usart_periph,
DMAC_CHANNEL dma_channel
);
Diagnostic verifies the following faults do not exist
- DMA events not generated
Operating Mode
- Interface can be used at POST and ‘On Demand’
Precondition
- none
Parameters
- sercom_usart_periph - enum value for SERCOM_USART peripheral
- DMAC_CHANNEL dma_channel
Returns
- DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.
