3.2.27.3 DIAG_TCC_Enable

Returns the status of the TCC_ENABLE diagnostic

This function enables the peripheral, then verifies that it has been enabled.

DIAG_TEST_STATUS
DIAG_TCC_Enable
(
    DIAG_TCC_PERIPHS tcc_periph
);

Diagnostic verifies the following faults do not exist

  • TCC will not turn on

Operating Mode

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

Parameters

  • tcc_periph - enum value for which TCC peripheral to be tested

Returns

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