Created
November 30, 2012 08:57
-
-
Save rechargecar/4174598 to your computer and use it in GitHub Desktop.
CAN Frame struct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct | |
{ | |
unsigned long id; // EID if ide set, SID otherwise | |
byte srr; // Standard Frame Remote Transmit Request | |
byte rtr; // Remote Transmission Request | |
byte ide; // Extended ID flag | |
byte dlc; // Number of data bytes | |
byte data[8]; // Data bytes | |
} Frame; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment