3.2.27.4 DIAG_TCC_Interrupts

Returns the status of the TCC_INTERRUPT diagnostic

This function verifies correct operation of TCC interrupts

DIAG_TEST_STATUS 
DIAG_TCC_Interrupts
(
    DIAG_TCC_PERIPHS tcc_periph
);

Diagnostic verifies the following faults do not exist

  • Interrupts are not generated
  • Interrupts cannot be cleared

Operating Mode

  • Interface can be used at POST
Precondition
  • none

Parameters

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

Returns

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