mcp2515 c程序源代码

mcp2515 c程序源代码

;----------------------------------------------------------------------

;MCP2510.INC

; DescripTIon:  This file contains the definiTIons for the MicroChip

; standalone CANbus controller.

;

; 07/17/99 JPF Original Version

; 09/11/99 JCT Modified for ASM

;----------------------------------------------------------------------

#define RXF0SIDH 0x00

#define RXF0SIDL 0x01

#define RXF0EID8 0x02

#define RXF0EID0 0x03

#define RXF1SIDH 0x04

#define RXF1SIDL 0x05

#define RXF1EID8 0x06

#define RXF1EID0 0x07

#define RXF2SIDH 0x08

#define RXF2SIDL 0x09

#define RXF2EID8 0x0A

#define RXF2EID0 0x0B

#define BFPCTRL 0x0C

#define TXRTSCTRL 0x0D

#define CANSTAT 0x0E

#define CANCTRL 0x0F