Driver for the Microchip MCP2515 can controller. More...
Driver for the Microchip MCP2515 can controller.
Defines for the MCP2515 can controller driver.
MCP2515 SPI CAN Controller Register & Configuration Constant
Definition in file mcp2515_defines.h.
#include <stdint.h>
Go to the source code of this file.
MCP2515 error flags | |
#define | MCP2515_EFLG_EWARN 0x01 |
#define | MCP2515_EFLG_RXWAR 0x02 |
#define | MCP2515_EFLG_TXWAR 0x04 |
#define | MCP2515_EFLG_RXEP 0x08 |
#define | MCP2515_EFLG_TXEP 0x10 |
#define | MCP2515_EFLG_TXBO 0x20 |
#define | MCP2515_EFLG_RX0OVR 0x40 |
#define | MCP2515_EFLG_RX1OVR 0x80 |
MCP2515 Transmit and receive flags | |
#define | MCP2515_TXBCTRL_TXP0 0x01 |
#define | MCP2515_TXBCTRL_TXP1 0x02 |
#define | MCP2515_TXBCTRL_TXREQ 0x08 |
#define | MCP2515_TXBCTRL_TXERR 0x10 |
#define | MCP2515_TXBCTRL_MLOA 0x20 |
#define | MCP2515_TXBCTRL_ABTF 0x40 |
#define | MCP2515_RXB0CTRL_FILHIT0 0x01 |
#define | MCP2515_RXB0CTRL_BUKT1 0x02 |
#define | MCP2515_RXB0CTRL_BUKT 0x04 |
#define | MCP2515_RXB0CTRL_RXRTR 0x08 |
#define | MCP2515_RXB0CTRL_MODE_RECV_FILTER 0x00 |
#define | MCP2515_RXB0CTRL_RXM0 0x20 |
#define | MCP2515_RXB0CTRL_RXM1 0x40 |
#define | MCP2515_RXB0CTRL_MODE_RECV_ALL |
#define | MCP2515_RXB1CTRL_FILHIT0 0x01 |
#define | MCP2515_RXB1CTRL_FILHIT1 0x02 |
#define | MCP2515_RXB1CTRL_FILHIT2 0x04 |
#define | MCP2515_RXB1CTRL_RXRTR 0x08 |
#define | MCP2515_RXB1CTRL_MODE_RECV_FILTER 0x00 |
#define | MCP2515_RXB1CTRL_RXM0 0x20 |
#define | MCP2515_RXB1CTRL_RXM1 0x40 |
#define | MCP2515_RXB1CTRL_MODE_RECV_ALL |
MCP2515 SPI commands | |
#define | MCP2515_SPI_RESET 0xC0 |
#define | MCP2515_SPI_READ 0x03 |
#define | MCP2515_SPI_READ_RXBUF 0x90 |
#define | MCP2515_SPI_WRITE 0x02 |
#define | MCP2515_SPI_LOAD_TXBUF 0x40 |
#define | MCP2515_SPI_RTS 0x80 |
#define | MCP2515_SPI_READ_STATUS 0xA0 |
#define | MCP2515_SPI_RX_STATUS 0xB0 |
#define | MCP2515_SPI_BITMOD 0x05 |
MCP2515 RX buffer id | |
#define | MCP2515_RXBUF_RXB0SIDH 0x00 |
#define | MCP2515_RXBUF_RXB0D0 0x02 |
#define | MCP2515_RXBUF_RXB1SIDH 0x04 |
#define | MCP2515_RXBUF_RXB1D0 0x06 |
MCP2515 TX buffer id | |
#define | MCP2515_TXBUF_TXB0SIDH 0x00 |
#define | MCP2515_TXBUF_TXB0D0 0x01 |
#define | MCP2515_TXBUF_TXB1SIDH 0x02 |
#define | MCP2515_TXBUF_TXB1D0 0x03 |
#define | MCP2515_TXBUF_TXB2SIDH 0x04 |
#define | MCP2515_TXBUF_TXB2D0 0x05 |
MCP2515 option ID for ioctl function | |
#define | MCP2515_OPTION_ROLLOVER 1 |
#define | MCP2515_OPTION_ONESHOT 2 |
#define | MCP2515_OPTION_ABORT 3 |
#define | MCP2515_OPTION_CLOCKOUT 4 |
#define | MCP2515_OPTION_LOOPBACK 5 |
#define | MCP2515_OPTION_LISTEN_ONLY 6 |
#define | MCP2515_OPTION_SLEEP 7 |
#define | MCP2515_OPTION_MULTISAMPLE 8 |
#define | MCP2515_OPTION_SOFOUT 9 |
#define | MCP2515_OPTION_WAKE_GLITCH_FILTER 10 |
#define | MCP2515_OPTION_WAKE 11 |
MCP2515 IRQ handling | |
#define | MCP2515_IRQ_FLAGGED 0x80 |
#define | MCP2515_IRQ_HANDLED 0x40 |
#define | MCP2515_IRQ_RX 0x01 |
#define | MCP2515_IRQ_TX 0x02 |
#define | MCP2515_IRQ_ERROR 0x04 |
#define | MCP2515_IRQ_WAKEUP 0x08 |
MCP2515 Extended ID bit | |
#define | MCP2515_RX_IDE 0x08 |
#define MCP2515_BFPCTRL 0x0C |
Definition at line 50 of file mcp2515_defines.h.
#define MCP2515_BFPCTRL_B0BFE 0x04 |
Definition at line 173 of file mcp2515_defines.h.
#define MCP2515_BFPCTRL_B0BFM 0x01 |
Definition at line 171 of file mcp2515_defines.h.
#define MCP2515_BFPCTRL_B0BFS 0x10 |
Definition at line 176 of file mcp2515_defines.h.
#define MCP2515_BFPCTRL_B1BFE 0x08 |
Definition at line 174 of file mcp2515_defines.h.
#define MCP2515_BFPCTRL_B1BFM 0x02 |
Definition at line 172 of file mcp2515_defines.h.
#define MCP2515_BFPCTRL_B1BFS 0x20 |
Definition at line 177 of file mcp2515_defines.h.
#define MCP2515_CANCTRL 0x0F |
Definition at line 53 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_ABAT 0x10 |
Definition at line 207 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_CLKEN 0x04 |
Definition at line 205 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_CLKPRE0 0x01 |
Definition at line 203 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_CLKPRE1 0x02 |
Definition at line 204 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_CLKPRE_MASK |
Definition at line 212 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_OSM 0x08 |
Definition at line 206 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_REQOP0 0x20 |
Definition at line 208 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_REQOP1 0x40 |
Definition at line 209 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_REQOP2 0x80 |
Definition at line 210 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_REQOP_CONFIGURATION MCP2515_CANCTRL_REQOP2 |
Definition at line 216 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_REQOP_LISTEN_ONLY |
Definition at line 220 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_REQOP_LOOPBACK MCP2515_CANCTRL_REQOP1 |
Definition at line 219 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_REQOP_MASK 0xE0 |
Definition at line 215 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_REQOP_NORMAL 0x00 |
Definition at line 217 of file mcp2515_defines.h.
#define MCP2515_CANCTRL_REQOP_SLEEP MCP2515_CANCTRL_REQOP0 |
Definition at line 218 of file mcp2515_defines.h.
#define MCP2515_CANINTE 0x2B |
Definition at line 86 of file mcp2515_defines.h.
#define MCP2515_CANINTE_ERRIE 0x20 |
Definition at line 260 of file mcp2515_defines.h.
#define MCP2515_CANINTE_MERRE 0x80 |
Definition at line 262 of file mcp2515_defines.h.
#define MCP2515_CANINTE_RX0IE 0x01 |
Definition at line 255 of file mcp2515_defines.h.
#define MCP2515_CANINTE_RX1IE 0x02 |
Definition at line 256 of file mcp2515_defines.h.
#define MCP2515_CANINTE_TX0IE 0x04 |
Definition at line 257 of file mcp2515_defines.h.
#define MCP2515_CANINTE_TX1IE 0x08 |
Definition at line 258 of file mcp2515_defines.h.
#define MCP2515_CANINTE_TX2IE 0x10 |
Definition at line 259 of file mcp2515_defines.h.
#define MCP2515_CANINTE_WAKIE 0x40 |
Definition at line 261 of file mcp2515_defines.h.
#define MCP2515_CANINTF 0x2C |
Definition at line 88 of file mcp2515_defines.h.
#define MCP2515_CANINTF_ERRIF 0x20 |
Definition at line 269 of file mcp2515_defines.h.
#define MCP2515_CANINTF_MERRF 0x80 |
Definition at line 271 of file mcp2515_defines.h.
#define MCP2515_CANINTF_RX0IF 0x01 |
Definition at line 264 of file mcp2515_defines.h.
#define MCP2515_CANINTF_RX1IF 0x02 |
Definition at line 265 of file mcp2515_defines.h.
#define MCP2515_CANINTF_TX0IF 0x04 |
Definition at line 266 of file mcp2515_defines.h.
#define MCP2515_CANINTF_TX1IF 0x08 |
Definition at line 267 of file mcp2515_defines.h.
#define MCP2515_CANINTF_TX2IF 0x10 |
Definition at line 268 of file mcp2515_defines.h.
#define MCP2515_CANINTF_WAKIF 0x40 |
Definition at line 270 of file mcp2515_defines.h.
#define MCP2515_CANSTAT 0x0E |
Definition at line 52 of file mcp2515_defines.h.
#define MCP2515_CANSTAT_ICOD0 0x02 |
Definition at line 186 of file mcp2515_defines.h.
#define MCP2515_CANSTAT_ICOD1 0x04 |
Definition at line 187 of file mcp2515_defines.h.
#define MCP2515_CANSTAT_ICOD2 0x08 |
Definition at line 188 of file mcp2515_defines.h.
#define MCP2515_CANSTAT_ICOD_MASK 0x0E |
Definition at line 193 of file mcp2515_defines.h.
#define MCP2515_CANSTAT_OPMOD0 0x20 |
Definition at line 189 of file mcp2515_defines.h.
#define MCP2515_CANSTAT_OPMOD1 0x40 |
Definition at line 190 of file mcp2515_defines.h.
#define MCP2515_CANSTAT_OPMOD2 0x80 |
Definition at line 191 of file mcp2515_defines.h.
#define MCP2515_CANSTAT_OPMOD_CONFIGURATION MCP2515_CANSTAT_OPMOD2 |
Definition at line 196 of file mcp2515_defines.h.
#define MCP2515_CANSTAT_OPMOD_LISTEN_ONLY |
Definition at line 200 of file mcp2515_defines.h.
#define MCP2515_CANSTAT_OPMOD_LOOPBACK MCP2515_CANSTAT_OPMOD1 |
Definition at line 199 of file mcp2515_defines.h.
#define MCP2515_CANSTAT_OPMOD_MASK 0xE0 |
Definition at line 195 of file mcp2515_defines.h.
#define MCP2515_CANSTAT_OPMOD_NORMAL 0x00 |
Definition at line 197 of file mcp2515_defines.h.
#define MCP2515_CANSTAT_OPMOD_SLEEP MCP2515_CANSTAT_OPMOD0 |
Definition at line 198 of file mcp2515_defines.h.
#define MCP2515_CNF1 0x2A |
Definition at line 85 of file mcp2515_defines.h.
#define MCP2515_CNF1_BRP0 0x01 |
Definition at line 243 of file mcp2515_defines.h.
#define MCP2515_CNF1_BRP1 0x02 |
Definition at line 244 of file mcp2515_defines.h.
#define MCP2515_CNF1_BRP2 0x04 |
Definition at line 245 of file mcp2515_defines.h.
#define MCP2515_CNF1_BRP3 0x08 |
Definition at line 246 of file mcp2515_defines.h.
#define MCP2515_CNF1_BRP4 0x10 |
Definition at line 247 of file mcp2515_defines.h.
#define MCP2515_CNF1_BRP5 0x20 |
Definition at line 248 of file mcp2515_defines.h.
#define MCP2515_CNF1_BRP_MASK 0x3F |
Definition at line 252 of file mcp2515_defines.h.
#define MCP2515_CNF1_SJW0 0x40 |
Definition at line 249 of file mcp2515_defines.h.
#define MCP2515_CNF1_SJW1 0x80 |
Definition at line 250 of file mcp2515_defines.h.
#define MCP2515_CNF1_SJW_MASK 0xC0 |
Definition at line 253 of file mcp2515_defines.h.
#define MCP2515_CNF2 0x29 |
Definition at line 84 of file mcp2515_defines.h.
#define MCP2515_CNF2_BTLMODE 0x80 |
Definition at line 238 of file mcp2515_defines.h.
#define MCP2515_CNF2_PHSEG10 0x08 |
Definition at line 234 of file mcp2515_defines.h.
#define MCP2515_CNF2_PHSEG11 0x10 |
Definition at line 235 of file mcp2515_defines.h.
#define MCP2515_CNF2_PHSEG12 0x20 |
Definition at line 236 of file mcp2515_defines.h.
#define MCP2515_CNF2_PHSEG_MASK 0x38 |
Definition at line 241 of file mcp2515_defines.h.
#define MCP2515_CNF2_PRSEG0 0x01 |
Definition at line 231 of file mcp2515_defines.h.
#define MCP2515_CNF2_PRSEG1 0x02 |
Definition at line 232 of file mcp2515_defines.h.
#define MCP2515_CNF2_PRSEG2 0x04 |
Definition at line 233 of file mcp2515_defines.h.
#define MCP2515_CNF2_PRSEG_MASK 0x07 |
Definition at line 240 of file mcp2515_defines.h.
#define MCP2515_CNF2_SAM 0x40 |
Definition at line 237 of file mcp2515_defines.h.
#define MCP2515_CNF3 0x28 |
Definition at line 83 of file mcp2515_defines.h.
#define MCP2515_CNF3_PHSEG20 0x01 |
Definition at line 223 of file mcp2515_defines.h.
#define MCP2515_CNF3_PHSEG21 0x02 |
Definition at line 224 of file mcp2515_defines.h.
#define MCP2515_CNF3_PHSEG22 0x04 |
Definition at line 225 of file mcp2515_defines.h.
#define MCP2515_CNF3_PHSEG_MASK 0x07 |
Definition at line 229 of file mcp2515_defines.h.
#define MCP2515_CNF3_SOF 0x80 |
Definition at line 227 of file mcp2515_defines.h.
#define MCP2515_CNF3_WAKFIL 0x40 |
Definition at line 226 of file mcp2515_defines.h.
#define MCP2515_EFLG 0x2D |
Definition at line 89 of file mcp2515_defines.h.
#define MCP2515_EFLG_EWARN 0x01 |
Definition at line 278 of file mcp2515_defines.h.
#define MCP2515_EFLG_RX0OVR 0x40 |
Definition at line 284 of file mcp2515_defines.h.
#define MCP2515_EFLG_RX1OVR 0x80 |
Definition at line 285 of file mcp2515_defines.h.
#define MCP2515_EFLG_RXEP 0x08 |
Definition at line 281 of file mcp2515_defines.h.
#define MCP2515_EFLG_RXWAR 0x02 |
Definition at line 279 of file mcp2515_defines.h.
#define MCP2515_EFLG_TXBO 0x20 |
Definition at line 283 of file mcp2515_defines.h.
#define MCP2515_EFLG_TXEP 0x10 |
Definition at line 282 of file mcp2515_defines.h.
#define MCP2515_EFLG_TXWAR 0x04 |
Definition at line 280 of file mcp2515_defines.h.
#define MCP2515_IRQ_ERROR 0x04 |
Definition at line 382 of file mcp2515_defines.h.
#define MCP2515_IRQ_FLAGGED 0x80 |
Definition at line 378 of file mcp2515_defines.h.
#define MCP2515_IRQ_HANDLED 0x40 |
Definition at line 379 of file mcp2515_defines.h.
#define MCP2515_IRQ_RX 0x01 |
Definition at line 380 of file mcp2515_defines.h.
#define MCP2515_IRQ_TX 0x02 |
Definition at line 381 of file mcp2515_defines.h.
#define MCP2515_IRQ_WAKEUP 0x08 |
Definition at line 383 of file mcp2515_defines.h.
#define MCP2515_OPTION_ABORT 3 |
Definition at line 363 of file mcp2515_defines.h.
#define MCP2515_OPTION_CLOCKOUT 4 |
Definition at line 364 of file mcp2515_defines.h.
#define MCP2515_OPTION_LISTEN_ONLY 6 |
Definition at line 366 of file mcp2515_defines.h.
#define MCP2515_OPTION_LOOPBACK 5 |
Definition at line 365 of file mcp2515_defines.h.
#define MCP2515_OPTION_MULTISAMPLE 8 |
Definition at line 368 of file mcp2515_defines.h.
#define MCP2515_OPTION_ONESHOT 2 |
Definition at line 362 of file mcp2515_defines.h.
#define MCP2515_OPTION_ROLLOVER 1 |
Definition at line 361 of file mcp2515_defines.h.
#define MCP2515_OPTION_SLEEP 7 |
Definition at line 367 of file mcp2515_defines.h.
#define MCP2515_OPTION_SOFOUT 9 |
Definition at line 369 of file mcp2515_defines.h.
#define MCP2515_OPTION_WAKE 11 |
Definition at line 371 of file mcp2515_defines.h.
#define MCP2515_OPTION_WAKE_GLITCH_FILTER 10 |
Definition at line 370 of file mcp2515_defines.h.
#define MCP2515_REC 0x1D |
Definition at line 71 of file mcp2515_defines.h.
#define MCP2515_RX_IDE 0x08 |
Definition at line 390 of file mcp2515_defines.h.
#define MCP2515_RXB0CTRL 0x60 |
Definition at line 136 of file mcp2515_defines.h.
#define MCP2515_RXB0CTRL_BUKT 0x04 |
Definition at line 301 of file mcp2515_defines.h.
#define MCP2515_RXB0CTRL_BUKT1 0x02 |
Definition at line 300 of file mcp2515_defines.h.
#define MCP2515_RXB0CTRL_FILHIT0 0x01 |
Definition at line 299 of file mcp2515_defines.h.
#define MCP2515_RXB0CTRL_MODE_RECV_ALL |
Definition at line 306 of file mcp2515_defines.h.
#define MCP2515_RXB0CTRL_MODE_RECV_FILTER 0x00 |
Definition at line 303 of file mcp2515_defines.h.
#define MCP2515_RXB0CTRL_RXM0 0x20 |
Definition at line 304 of file mcp2515_defines.h.
#define MCP2515_RXB0CTRL_RXM1 0x40 |
Definition at line 305 of file mcp2515_defines.h.
#define MCP2515_RXB0CTRL_RXRTR 0x08 |
Definition at line 302 of file mcp2515_defines.h.
#define MCP2515_RXB0D0 0x66 |
Definition at line 142 of file mcp2515_defines.h.
#define MCP2515_RXB0D1 0x67 |
Definition at line 143 of file mcp2515_defines.h.
#define MCP2515_RXB0D2 0x68 |
Definition at line 144 of file mcp2515_defines.h.
#define MCP2515_RXB0D3 0x69 |
Definition at line 145 of file mcp2515_defines.h.
#define MCP2515_RXB0D4 0x6A |
Definition at line 146 of file mcp2515_defines.h.
#define MCP2515_RXB0D5 0x6B |
Definition at line 147 of file mcp2515_defines.h.
#define MCP2515_RXB0D6 0x6C |
Definition at line 148 of file mcp2515_defines.h.
#define MCP2515_RXB0D7 0x6D |
Definition at line 149 of file mcp2515_defines.h.
#define MCP2515_RXB0DLC 0x65 |
Definition at line 141 of file mcp2515_defines.h.
#define MCP2515_RXB0EID0 0x64 |
Definition at line 140 of file mcp2515_defines.h.
#define MCP2515_RXB0EID8 0x63 |
Definition at line 139 of file mcp2515_defines.h.
#define MCP2515_RXB0SIDH 0x61 |
Definition at line 137 of file mcp2515_defines.h.
#define MCP2515_RXB0SIDL 0x62 |
Definition at line 138 of file mcp2515_defines.h.
#define MCP2515_RXB1CTRL 0x70 |
Definition at line 151 of file mcp2515_defines.h.
#define MCP2515_RXB1CTRL_FILHIT0 0x01 |
Definition at line 309 of file mcp2515_defines.h.
#define MCP2515_RXB1CTRL_FILHIT1 0x02 |
Definition at line 310 of file mcp2515_defines.h.
#define MCP2515_RXB1CTRL_FILHIT2 0x04 |
Definition at line 311 of file mcp2515_defines.h.
#define MCP2515_RXB1CTRL_MODE_RECV_ALL |
Definition at line 316 of file mcp2515_defines.h.
#define MCP2515_RXB1CTRL_MODE_RECV_FILTER 0x00 |
Definition at line 313 of file mcp2515_defines.h.
#define MCP2515_RXB1CTRL_RXM0 0x20 |
Definition at line 314 of file mcp2515_defines.h.
#define MCP2515_RXB1CTRL_RXM1 0x40 |
Definition at line 315 of file mcp2515_defines.h.
#define MCP2515_RXB1CTRL_RXRTR 0x08 |
Definition at line 312 of file mcp2515_defines.h.
#define MCP2515_RXB1D0 0x76 |
Definition at line 157 of file mcp2515_defines.h.
#define MCP2515_RXB1D1 0x77 |
Definition at line 158 of file mcp2515_defines.h.
#define MCP2515_RXB1D2 0x78 |
Definition at line 159 of file mcp2515_defines.h.
#define MCP2515_RXB1D3 0x79 |
Definition at line 160 of file mcp2515_defines.h.
#define MCP2515_RXB1D4 0x7A |
Definition at line 161 of file mcp2515_defines.h.
#define MCP2515_RXB1D5 0x7B |
Definition at line 162 of file mcp2515_defines.h.
#define MCP2515_RXB1D6 0x7C |
Definition at line 163 of file mcp2515_defines.h.
#define MCP2515_RXB1D7 0x7D |
Definition at line 164 of file mcp2515_defines.h.
#define MCP2515_RXB1DLC 0x75 |
Definition at line 156 of file mcp2515_defines.h.
#define MCP2515_RXB1EID0 0x74 |
Definition at line 155 of file mcp2515_defines.h.
#define MCP2515_RXB1EID8 0x73 |
Definition at line 154 of file mcp2515_defines.h.
#define MCP2515_RXB1SIDH 0x71 |
Definition at line 152 of file mcp2515_defines.h.
#define MCP2515_RXB1SIDL 0x72 |
Definition at line 153 of file mcp2515_defines.h.
#define MCP2515_RXBUF_RXB0D0 0x02 |
Definition at line 340 of file mcp2515_defines.h.
#define MCP2515_RXBUF_RXB0SIDH 0x00 |
Definition at line 339 of file mcp2515_defines.h.
#define MCP2515_RXBUF_RXB1D0 0x06 |
Definition at line 342 of file mcp2515_defines.h.
#define MCP2515_RXBUF_RXB1SIDH 0x04 |
Definition at line 341 of file mcp2515_defines.h.
#define MCP2515_RXF0EID0 0x03 |
Definition at line 38 of file mcp2515_defines.h.
#define MCP2515_RXF0EID8 0x02 |
Definition at line 37 of file mcp2515_defines.h.
#define MCP2515_RXF0SIDH 0x00 |
Definition at line 35 of file mcp2515_defines.h.
#define MCP2515_RXF0SIDL 0x01 |
Definition at line 36 of file mcp2515_defines.h.
#define MCP2515_RXF1EID0 0x07 |
Definition at line 43 of file mcp2515_defines.h.
#define MCP2515_RXF1EID8 0x06 |
Definition at line 42 of file mcp2515_defines.h.
#define MCP2515_RXF1SIDH 0x04 |
Definition at line 40 of file mcp2515_defines.h.
#define MCP2515_RXF1SIDL 0x05 |
Definition at line 41 of file mcp2515_defines.h.
#define MCP2515_RXF2EID0 0x0B |
Definition at line 48 of file mcp2515_defines.h.
#define MCP2515_RXF2EID8 0x0A |
Definition at line 47 of file mcp2515_defines.h.
#define MCP2515_RXF2SIDH 0x08 |
Definition at line 45 of file mcp2515_defines.h.
#define MCP2515_RXF2SIDL 0x09 |
Definition at line 46 of file mcp2515_defines.h.
#define MCP2515_RXF3EID0 0x13 |
Definition at line 58 of file mcp2515_defines.h.
#define MCP2515_RXF3EID8 0x12 |
Definition at line 57 of file mcp2515_defines.h.
#define MCP2515_RXF3SIDH 0x10 |
Definition at line 55 of file mcp2515_defines.h.
#define MCP2515_RXF3SIDL 0x11 |
Definition at line 56 of file mcp2515_defines.h.
#define MCP2515_RXF4EID0 0x17 |
Definition at line 63 of file mcp2515_defines.h.
#define MCP2515_RXF4EID8 0x16 |
Definition at line 62 of file mcp2515_defines.h.
#define MCP2515_RXF4SIDH 0x14 |
Definition at line 60 of file mcp2515_defines.h.
#define MCP2515_RXF4SIDL 0x15 |
Definition at line 61 of file mcp2515_defines.h.
#define MCP2515_RXF5EID0 0x1B |
Definition at line 68 of file mcp2515_defines.h.
#define MCP2515_RXF5EID8 0x1A |
Definition at line 67 of file mcp2515_defines.h.
#define MCP2515_RXF5SIDH 0x18 |
Definition at line 65 of file mcp2515_defines.h.
#define MCP2515_RXF5SIDL 0x19 |
Definition at line 66 of file mcp2515_defines.h.
#define MCP2515_RXM0EID0 0x23 |
Definition at line 76 of file mcp2515_defines.h.
#define MCP2515_RXM0EID8 0x22 |
Definition at line 75 of file mcp2515_defines.h.
#define MCP2515_RXM0SIDH 0x20 |
Definition at line 73 of file mcp2515_defines.h.
#define MCP2515_RXM0SIDL 0x21 |
Definition at line 74 of file mcp2515_defines.h.
#define MCP2515_RXM1EID0 0x27 |
Definition at line 81 of file mcp2515_defines.h.
#define MCP2515_RXM1EID8 0x26 |
Definition at line 80 of file mcp2515_defines.h.
#define MCP2515_RXM1SIDH 0x24 |
Definition at line 78 of file mcp2515_defines.h.
#define MCP2515_RXM1SIDL 0x25 |
Definition at line 79 of file mcp2515_defines.h.
#define MCP2515_SPI_BITMOD 0x05 |
Definition at line 332 of file mcp2515_defines.h.
#define MCP2515_SPI_LOAD_TXBUF 0x40 |
Definition at line 328 of file mcp2515_defines.h.
#define MCP2515_SPI_READ 0x03 |
Definition at line 325 of file mcp2515_defines.h.
#define MCP2515_SPI_READ_RXBUF 0x90 |
Definition at line 326 of file mcp2515_defines.h.
#define MCP2515_SPI_READ_STATUS 0xA0 |
Definition at line 330 of file mcp2515_defines.h.
#define MCP2515_SPI_RESET 0xC0 |
Definition at line 324 of file mcp2515_defines.h.
#define MCP2515_SPI_RTS 0x80 |
Definition at line 329 of file mcp2515_defines.h.
#define MCP2515_SPI_RX_STATUS 0xB0 |
Definition at line 331 of file mcp2515_defines.h.
#define MCP2515_SPI_WRITE 0x02 |
Definition at line 327 of file mcp2515_defines.h.
#define MCP2515_TEC 0x1C |
Definition at line 70 of file mcp2515_defines.h.
#define MCP2515_TXB0CTRL 0x30 |
Definition at line 91 of file mcp2515_defines.h.
#define MCP2515_TXB0D0 0x36 |
Definition at line 97 of file mcp2515_defines.h.
#define MCP2515_TXB0D1 0x37 |
Definition at line 98 of file mcp2515_defines.h.
#define MCP2515_TXB0D2 0x38 |
Definition at line 99 of file mcp2515_defines.h.
#define MCP2515_TXB0D3 0x39 |
Definition at line 100 of file mcp2515_defines.h.
#define MCP2515_TXB0D4 0x3A |
Definition at line 101 of file mcp2515_defines.h.
#define MCP2515_TXB0D5 0x3B |
Definition at line 102 of file mcp2515_defines.h.
#define MCP2515_TXB0D6 0x3C |
Definition at line 103 of file mcp2515_defines.h.
#define MCP2515_TXB0D7 0x3D |
Definition at line 104 of file mcp2515_defines.h.
#define MCP2515_TXB0DLC 0x35 |
Definition at line 96 of file mcp2515_defines.h.
#define MCP2515_TXB0EID0 0x34 |
Definition at line 95 of file mcp2515_defines.h.
#define MCP2515_TXB0EID8 0x33 |
Definition at line 94 of file mcp2515_defines.h.
#define MCP2515_TXB0SIDH 0x31 |
Definition at line 92 of file mcp2515_defines.h.
#define MCP2515_TXB0SIDL 0x32 |
Definition at line 93 of file mcp2515_defines.h.
#define MCP2515_TXB1CTRL 0x40 |
Definition at line 106 of file mcp2515_defines.h.
#define MCP2515_TXB1D0 0x46 |
Definition at line 112 of file mcp2515_defines.h.
#define MCP2515_TXB1D1 0x47 |
Definition at line 113 of file mcp2515_defines.h.
#define MCP2515_TXB1D2 0x48 |
Definition at line 114 of file mcp2515_defines.h.
#define MCP2515_TXB1D3 0x49 |
Definition at line 115 of file mcp2515_defines.h.
#define MCP2515_TXB1D4 0x4A |
Definition at line 116 of file mcp2515_defines.h.
#define MCP2515_TXB1D5 0x4B |
Definition at line 117 of file mcp2515_defines.h.
#define MCP2515_TXB1D6 0x4C |
Definition at line 118 of file mcp2515_defines.h.
#define MCP2515_TXB1D7 0x4D |
Definition at line 119 of file mcp2515_defines.h.
#define MCP2515_TXB1DLC 0x45 |
Definition at line 111 of file mcp2515_defines.h.
#define MCP2515_TXB1EID0 0x44 |
Definition at line 110 of file mcp2515_defines.h.
#define MCP2515_TXB1EID8 0x43 |
Definition at line 109 of file mcp2515_defines.h.
#define MCP2515_TXB1SIDH 0x41 |
Definition at line 107 of file mcp2515_defines.h.
#define MCP2515_TXB1SIDL 0x42 |
Definition at line 108 of file mcp2515_defines.h.
#define MCP2515_TXB2CTRL 0x50 |
Definition at line 121 of file mcp2515_defines.h.
#define MCP2515_TXB2D0 0x56 |
Definition at line 127 of file mcp2515_defines.h.
#define MCP2515_TXB2D1 0x57 |
Definition at line 128 of file mcp2515_defines.h.
#define MCP2515_TXB2D2 0x58 |
Definition at line 129 of file mcp2515_defines.h.
#define MCP2515_TXB2D3 0x59 |
Definition at line 130 of file mcp2515_defines.h.
#define MCP2515_TXB2D4 0x5A |
Definition at line 131 of file mcp2515_defines.h.
#define MCP2515_TXB2D5 0x5B |
Definition at line 132 of file mcp2515_defines.h.
#define MCP2515_TXB2D6 0x5C |
Definition at line 133 of file mcp2515_defines.h.
#define MCP2515_TXB2D7 0x5D |
Definition at line 134 of file mcp2515_defines.h.
#define MCP2515_TXB2DLC 0x55 |
Definition at line 126 of file mcp2515_defines.h.
#define MCP2515_TXB2EID0 0x54 |
Definition at line 125 of file mcp2515_defines.h.
#define MCP2515_TXB2EID8 0x53 |
Definition at line 124 of file mcp2515_defines.h.
#define MCP2515_TXB2SIDH 0x51 |
Definition at line 122 of file mcp2515_defines.h.
#define MCP2515_TXB2SIDL 0x52 |
Definition at line 123 of file mcp2515_defines.h.
#define MCP2515_TXBCTRL_ABTF 0x40 |
Definition at line 297 of file mcp2515_defines.h.
#define MCP2515_TXBCTRL_MLOA 0x20 |
Definition at line 296 of file mcp2515_defines.h.
#define MCP2515_TXBCTRL_TXERR 0x10 |
Definition at line 295 of file mcp2515_defines.h.
#define MCP2515_TXBCTRL_TXP0 0x01 |
Definition at line 292 of file mcp2515_defines.h.
#define MCP2515_TXBCTRL_TXP1 0x02 |
Definition at line 293 of file mcp2515_defines.h.
#define MCP2515_TXBCTRL_TXREQ 0x08 |
Definition at line 294 of file mcp2515_defines.h.
#define MCP2515_TXBUF_TXB0D0 0x01 |
Definition at line 350 of file mcp2515_defines.h.
#define MCP2515_TXBUF_TXB0SIDH 0x00 |
Definition at line 349 of file mcp2515_defines.h.
#define MCP2515_TXBUF_TXB1D0 0x03 |
Definition at line 352 of file mcp2515_defines.h.
#define MCP2515_TXBUF_TXB1SIDH 0x02 |
Definition at line 351 of file mcp2515_defines.h.
#define MCP2515_TXBUF_TXB2D0 0x05 |
Definition at line 354 of file mcp2515_defines.h.
#define MCP2515_TXBUF_TXB2SIDH 0x04 |
Definition at line 353 of file mcp2515_defines.h.
#define MCP2515_TXRTSCTRL 0x0D |
Definition at line 51 of file mcp2515_defines.h.
#define MCP2515_TXRTSCTRL_B0RTS 0x08 |
Definition at line 182 of file mcp2515_defines.h.
#define MCP2515_TXRTSCTRL_B0RTSM 0x01 |
Definition at line 179 of file mcp2515_defines.h.
#define MCP2515_TXRTSCTRL_B1RTS 0x10 |
Definition at line 183 of file mcp2515_defines.h.
#define MCP2515_TXRTSCTRL_B1RTSM 0x02 |
Definition at line 180 of file mcp2515_defines.h.
#define MCP2515_TXRTSCTRL_B2RTS 0x20 |
Definition at line 184 of file mcp2515_defines.h.
#define MCP2515_TXRTSCTRL_B2RTSM 0x04 |
Definition at line 181 of file mcp2515_defines.h.