3.2.24.2 DIAG_SERCOM_USART_Disable

Returns the status of USART_DISABLE diagnostic

This function disables the peripheral, then verifies that it has been disabled.

DIAG_TEST_STATUS 
DIAG_USART_Disable
(
    DIAG_SERCOM_USART_PERIPHS sercom_usart_periph
);

Diagnostic verifies the following faults do not exist

  • SERCOM_UART will not turn off

Operating Mode

  • Interface can be used at POST and ‘On Demand’
Precondition
  • none

Parameters

  • sercom_usart_periph - enum value for which SERCOM_USART peripheral to be tested

Returns

  • DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.