Go to the source code of this file.
Functions | |
void | formatStandardDataFrameECAN (ECANMSG *p_ecanmsg, uint16 u16_id, uint8 u8_len) |
void | formatExtendedDataFrameECAN (ECANMSG *p_ecanmsg, uint32 u32_id, uint8 u8_len) |
uint32 | getIdExtendedDataFrameECAN (ECANMSG *p_ecanmsg) |
Definition in file pic24_ecan.h.
Format an extended data frame u8_n for TX
p_ecanmsg | pointer to message buffer (ECANMSG* ) | |
u32_id | Standard Identifier (11-bit) | |
u8_len | Number of data bytes in the message |
Definition at line 77 of file pic24_ecan.c.
Format a standard data frame u8_n for TX
p_ecanmsg | pointer to message buffer (ECANMSG* ) | |
u16_id | Standard Identifier (11-bit) | |
u8_len | Number of data bytes in the message |
Definition at line 57 of file pic24_ecan.c.
uint32 getIdExtendedDataFrameECAN | ( | ECANMSG * | p_ecanmsg | ) |
Extract the 29-bit message id from an extended data frame
p_ecanmsg | pointer to RX message buffer (ECANMSG* ) |
Definition at line 96 of file pic24_ecan.c.