|
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.
| void formatExtendedDataFrameECAN | ( | ECANMSG * | p_ecanmsg, |
| uint32_t | u32_id, | ||
| uint8_t | u8_len | ||
| ) |
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 121 of file pic24_ecan.c.
Referenced by formatStandardDataFrameECAN().
| void formatStandardDataFrameECAN | ( | ECANMSG * | p_ecanmsg, |
| uint16_t | u16_id, | ||
| uint8_t | u8_len | ||
| ) |
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 81 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 157 of file pic24_ecan.c.
Referenced by formatExtendedDataFrameECAN().
1.8.13