3.2.5.9 DIAG_CAN_TimeStamps

Returns the status of the CAN_TIMESTAMP diagnostic

This function verify timestamps are sent and received correctly.

DIAG_TEST_STATUS 
DIAG_CAN_TimeStamps
(
    DIAG_CAN_PERIPHS can_periph
);

Diagnostic verifies the following faults do not exist

  • Received message is not sent to wrong buffer

Operating Mode

  • Interface can be used at POST
Precondition
  • none

Parameters

  • can_periph- enum value for which CAN peripheral to be tested

Returns

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