3.2.5.10 DIAG_CAN_Transmit1
Returns the status of the CAN_LOOPBACK and CAN_TIMING_MONITOR diagnostics
This function sends a single byte over the interface using internal loopback, and verifies that
the message was received.
DIAG_TEST_STATUS
DIAG_CAN_Transmit1
(
DIAG_CAN_PERIPHS can_periph
);Diagnostic verifies the following faults do not exist
-
Transmitted message is incorrect
-
Received message is incorrect
-
Received message is 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 initialized
Returns
- DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.
