twai_hal_parse_frame() function
Parse a TWAI Frame This function takes a TWAI frame (in the format of the RX frame buffer) and parses it to a TWAI message (containing ID, DLC, data and flags).
Arguments
frame
Pointer to frame structure
message
Pointer to empty message structure