2.4.3 CAN_PHY_Transmit()

bool CAN_PHY_Transmit (uint32_t messageId, bool isEid, uint8_t * data, uint8_t length)

Adaptor method that interfaces with the CAN/CAN-FD method Transmit.

Precondition:

CAN/CAN-FD Initialize function should be called before calling this function.

Parameters:
in messageId

ID of the message to send over CAN/CAN-FD.

in isEid

ID is extended or not.

in data

Pointer to the message to send.

in length

Length of the message to send.

Returns:

if message was transmitted successfully or not.