3.2.24.4 DIAG_SERCOM_USART_Enable
Returns the status of the SERCOM_USART_ENABLE diagnostic
This function enables the peripheral, then verifies that it has been enabled.
DIAG_TEST_STATUS
DIAG_SERCOM_USART_Enable
(
DIAG_SERCOM_USART_PERIPHS sercom_usart_periph
);
Diagnostic verifies the following faults do not exist
- USART won't turn on
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.
