|
PIC24 Support Libraries
|
Go to the source code of this file.
Functions | |
| void | formatStandardDataFrameECAN (ECANMSG *p_ecanmsg, uint16_t u16_id, uint8_t u8_len) |
| void | formatExtendedDataFrameECAN (ECANMSG *p_ecanmsg, uint32_t u32_id, uint8_t u8_len) |
| uint32_t | getIdExtendedDataFrameECAN (ECANMSG *p_ecanmsg) |
ECAN Header File
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 76 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 56 of file pic24_ecan.c.
| uint32_t 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 95 of file pic24_ecan.c.
1.8.4