//mcp2510.h
#define CANCTRL 0x0F
#define CANSTAT 0x0E
#define CNF3 0x28
#define RXM0SIDH 0x20
#define RXF0SIDH 0x00
#define CANINTE 0x2B
#define TXB0D0 0x36
#define TXB0DLC 0x35
#define TXB0CTRL 0x30
#define CANINTF 0x2C
#define RXB0SIDH 0x61
#define RXB0DLC 0x65
#define RXB0D0 0x66
int flag1;
int flag2;
文章评论(0条评论)
登录后参与讨论