COMMELL MPX-2515 User Manual
Page 33

Commell MPX-2515 User’s Guide Rev 0100
Taiwan Commate Computer Inc.
33
#define CCP_CAN_TX_SERVICE 0X23 /* command category code */
#define MCP_ABORT_TXB0 0X38 /* sub-command code */
#define EP2 2 /* Endpoint 2 */
#define EP3 3 /* Endpoint 3 */
OFFSET
BULK OUT (EP2)
BULK IN (EP1)
SIZEOF_DATA
0X04
0X01
COMMAND
0X23
0X23
ERROR
0X00
Error code
DATA_0
0X38
Abort status code
DATA_1
Reserved
checksum
DATA_2
0X30
DATA_3
0X08
DATA_4
checksum
DATA_5
1.8.9 MCP_ABORT_TXB1
The MCP_ABORT_TXB1 command set the TXREQ.ABTF to abort the
corresponding message. Please refer to the ABORT TRANSMISSION paragraph
and the MCP2515 data sheet for transmission abort limitations.
#define CCP_CAN_TX_SERVICE 0X23 /* command category code */
#define MCP_ABORT_TXB1 0X48 /* sub-command code */
#define EP2 2 /* Endpoint 2 */
#define EP3 3 /* Endpoint 3 */
OFFSET
BULK OUT (EP2)
BULK IN (EP1)
SIZEOF_DATA
0X04
0X01
COMMAND
0X23
0X23
ERROR
0X00
Error code
DATA_0
0X48
Abort status code
DATA_1
Reserved
checksum
DATA_2
0X40
DATA_3
0X08
DATA_4
checksum
DATA_5
1.8.10
MCP_ABORT_TXB2
The MCP_ABORT_TXB2 command set the TXREQ.ABTF to abort the
corresponding message. Please refer to the ABORT TRANSMISSION paragraph
and the MCP2515 data sheet for transmission abort limitations.
#define CCP_CAN_TX_SERVICE 0X23 /* command category code */