2.4.1 CAN_PHY_Receive()

bool CAN_PHY_Receive (uint8_t * data, uint8_t * length)

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

Precondition:

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

Parameters:
out data

Pointer to the full message recieved by CAN-TP.

out length

Pointer to the length of the message.

Returns:

if message was recieved successfully or not