3.2.24.9 DIAG_SERCOM_USART_TransmitMarching1
Returns the status of the USART_LOOPBACK diagnostic
This function verifies a message can be sent and received over the interface using external.
DIAG_TEST_STATUS
DIAG_SERCOM_USART_TransmitMarching1
(
DIAG_SERCOM_USART_PERIPHS SERCOM_USART_periph
);
Diagnostic verifies the following faults do not exist
- Transmitted data is incorrect
-
Received data is incorrect
-
Interrupts not generated
-
Interrupt cannot be cleared
Operating Mode
- Interface can be used at POST and ‘On Demand’
Precondition
- none
Parameters
- SERCOM_USART_periph - enum value for which SERCOM_USART
Returns
- DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.
