3.2.5.2 DIAG_CAN_DISABLE

Returns the status of the CAN_DISABLE diagnostic

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

DIAG_TEST_STATUS 
DIAG_CAN_Disable
(
    DIAG_CAN_PERIPHS can_periph
);

Diagnostic verifies the following faults do not exist

  • CAN will not turn off

Operating Mode

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

Parameters

  • can_periph - enum value for which CAN peripheral

Returns

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