These definitions hold the instruction codes.
More...
|
|
#define | PI_MCP2515_INSTR_WRITE 0x02 |
| | SPI interface write instruction.
|
|
#define | PI_MCP2515_INSTR_READ 0x03 |
| | SPI interface read instruction.
|
|
#define | PI_MCP2515_INSTR_BITMOD 0x05 |
| | SPI interface bit modify instruction.
|
|
#define | PI_MCP2515_INSTR_READ_STATUS 0xA0 |
| | SPI interface status instruction.
|
|
#define | PI_MCP2515_INSTR_RX_STATUS 0xB0 |
| | SPI interface RX status instruction.
|
|
#define | PI_MCP2515_INSTR_RESET 0xC0 |
| | SPI interface reset instruction.
|
|
#define | PI_MCP2515_INSTR_LOAD_TX0 0x40 |
|
#define | PI_MCP2515_INSTR_LOAD_TX1 0x42 |
|
#define | PI_MCP2515_INSTR_LOAD_TX2 0x44 |
|
#define | PI_MCP2515_INSTR_READ_RX0 0x90 |
|
#define | PI_MCP2515_INSTR_READ_RX1 0x94 |
|
#define | PI_MCP2515_INSTR_RTS_TX0 0x81 |
|
#define | PI_MCP2515_INSTR_RTS_TX1 0x82 |
|
#define | PI_MCP2515_INSTR_RTS_TX2 0x84 |
These definitions hold the instruction codes.