Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mcp2515 by
mcp2515_can.h
00001 #ifndef MCP2515_CAN_H_ 00002 #define MCP2515_CAN_H_ 00003 00004 #define CANDEBUG 1 00005 00006 #define CANUSELOOP 0 00007 00008 #define CANSENDTIMEOUT (200) /* milliseconds */ 00009 00010 // initial value of gCANAutoProcess 00011 #define CANAUTOPROCESS (1) 00012 #define CANAUTOON (1) 00013 #define CANAUTOOFF (0) 00014 00015 #define CAN_STDID (0) 00016 #define CAN_EXTID (1) 00017 00018 #define CANDEFAULTIDENT (0x55CC) 00019 #define CANDEFAULTIDENTEXT (CAN_EXTID) 00020 00021 #define CAN_20KBPS (1) 00022 #define CAN_125KBPS (CAN_20KBPS+1) 00023 00024 #define CAN_500KBPS_10MHz (59) 00025 #define CAN_1MBPS_8MHZ (58) 00026 #define CAN_500KBPS_8MHZ (57) 00027 #define CAN_250KBPS_8MHZ (56) 00028 #define CAN_125KBPS_8MHZ (55) 00029 #define CAN_100KBPS_8MHZ (54) 00030 #define CAN_50KBPS_8MHZ (53) 00031 #define CAN_20KBPS_8MHZ (52) 00032 #define CAN_10KBPS_8MHZ (51) 00033 00034 #define CAN_OK (0) 00035 #define CAN_FAILINIT (1) 00036 #define CAN_FAILTX (2) 00037 #define CAN_MSGAVAIL (3) 00038 #define CAN_NOMSG (4) 00039 #define CAN_CTRLERROR (5) 00040 #define CAN_FAIL (0xff) 00041 00042 #define CAN_MAX_CHAR_IN_MESSAGE (8) 00043 00044 00045 #endif
Generated on Tue Jul 12 2022 22:54:59 by
1.7.2
