3.2.24.1 DIAG_SERCOM_USART_CrcCheck
Returns the status of the USART_CHECKSUM diagnostic
This function verifies an eight-byte message with a 1 in each bit position, plus a 16-bit CRC and verify it is received correctly.
DIAG_TEST_STATUS
DIAG_SERCOM_USART_CrcCheck
(
DIAG_SERCOM_USART_PERIPHS sercom_usart_periph
);
Diagnostic verifies the following faults do not exist
- Incorrect frequency
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.
