33 #include <mraa/gpio.h> 35 #include "mcp2515_regs.h" 57 mraa_gpio_context gpio;
60 mraa_gpio_context intr;
101 MCP2515_OPMODE_T opmode);
115 MCP2515_SPEED_T speed);
138 MCP2515_TX_BUFFER_T bufnum,
139 int id,
bool ext,
bool rtr,
140 uint8_t *payload,
int len);
153 MCP2515_TX_BUFFER_T bufnum,
167 MCP2515_TX_BUFFER_T bufnum);
176 MCP2515_TX_BUFFER_T mcp2515_find_free_tx_buffer(
const mcp2515_context dev);
192 MCP2515_TX_BUFFER_T bufnum,
193 MCP2515_TXP_T priority);
208 MCP2515_TX_BUFFER_T bufnum);
226 MCP2515_RX_BUFFER_T bufnum,
227 MCP2515_RXMODE_T rxm);
251 MCP2515_MSGTYPE_T mcp2515_rx_status_msg_type(
const mcp2515_context dev);
262 MCP2515_FILTERMATCH_T mcp2515_rx_status_filtermatch(
const mcp2515_context dev);
279 MCP2515_RX_BUFFER_T bufnum,
311 void (*isr)(
void *),
void *arg);
408 MCP2515_RX_FILTER_T filter,
bool ext,
428 MCP2515_RX_MASK_T mask,
bool ext,
int id);
445 uint8_t *args,
unsigned int arglen,
446 uint8_t *data, uint8_t len);
461 uint8_t *data, uint8_t len);
489 upm_result_t mcp2515_write_regs(
const mcp2515_context dev, uint8_t reg,
490 uint8_t *buffer,
int len);
520 upm_result_t mcp2515_bit_modify(
const mcp2515_context dev, uint8_t addr,
521 uint8_t mask, uint8_t value);
Definition: mcp2515_regs.h:92