Peter Cooper
/
diags
test code for our MBED board
can_layer.h
- Committer:
- lolpcc
- Date:
- 2011-05-04
- Revision:
- 1:6877bb99aa17
File content as of revision 1:6877bb99aa17:
#define CAN_SYNC 0x00000 #define CAN_RAW 0x00001 #define CAN_SPRT 0x00002 #define CAN_EPRT 0x00003 #define CAN_INT 0x00004 #define CAN_TIME 0x00005 #define CAN_S2 0x00006 #define CAN_S3 0x00007 #define CAN_S4 0x00008 #define CAN_S5 0x00009 #define CAN_S6 0x0000a #define CAN_S7 0x0000b #define CAN_S8 0x0000c #define CAN_S9 0x0000d #define CAN_WHOIS 0x0000e #define CAN_IAM 0x0000f #define CAN_PRT 0x00010 #define CAN_SENDER_ID 0x0001 #define CAN_OUR_ID 0x0002 #define CAN_IS_PRT 0x0004 #define CAN_GET_CNT 0x0008 #define CAN_GET_CMD 0x0010 #define MAX_CAN_BUF 0x08 char *cancmd[0x12] = {"SYNC","Raw Data","Start Print",\ "End Print","Interger","Spare 1","Spare 2","Spare 3",\ "Spare 4","Spare 5","Spare 6","Spare 7","Spare 8",\ "Spare 9", "Who is on line ?", "I am here","Print Packet"};