3.2.24.8 DIAG_SERCOM_USART_TransmitBufOvf
Returns the status of the USART_LOOPBACK diagnostic
This function verifies messages more than the size of the FIFO can be sent over the interface using external loopback without checking for reception, and verify a buffer overflow (BUFOFV) occurs.
DIAG_TEST_STATUS
DIAG_SERCOM_USART_TransmitBufOvf
(
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 SERCOM_USART peripheral
Returns
- DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.
