3.2.26.4 DIAG_TC_Interrupts

Returns the status of the TC_INTERRUPT diagnostic

This function verifies correct operation of TC interrupts

DIAG_TEST_STATUS 
DIAG_TC_Interrupts
(
    DIAG_TC_PERIPHS tc_periph
);

Diagnostic verifies the following faults do not exist

  • No interrupts generated
  • Interrupt cannot be cleared

Operating Mode

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

Parameters

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

Returns

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