![]() |
CAN Bus Soldered Arduino Library 1.0.0
This is a library for the MCP2518 Can Bus Breakout by Soldered
|
#include <mcp_can_fd.h>
Inherited by mcp2518fd.
Public Member Functions | |
virtual void | enableTxInterrupt (bool enable=true)=0 |
virtual void | reserveTxBuffers (byte nTxBuf=0)=0 |
virtual byte | getLastTxBuffer ()=0 |
virtual byte | begin (uint32_t speedset, const byte clockset)=0 |
virtual byte | init_Mask (byte num, byte ext, unsigned long ulData)=0 |
virtual byte | init_Filt (byte num, byte ext, unsigned long ulData)=0 |
virtual void | setSleepWakeup (byte enable)=0 |
virtual byte | sleep ()=0 |
virtual byte | wake ()=0 |
virtual byte | __setMode (byte opMode)=0 |
virtual byte | getMode ()=0 |
virtual byte | checkError (uint8_t *err_ptr=NULL)=0 |
virtual byte | checkReceive (void)=0 |
virtual byte | readMsgBufID (byte status, volatile unsigned long *id, volatile byte *ext, volatile byte *rtr, volatile byte *len, volatile byte *buf)=0 |
virtual byte | readMsgBufID (unsigned long *ID, byte *len, byte *buf)=0 |
virtual byte | readMsgBuf (byte *len, byte *buf)=0 |
unsigned long | getCanId (void) |
byte | isRemoteRequest (void) |
byte | isExtendedFrame (void) |
virtual byte | trySendMsgBuf (unsigned long id, byte ext, byte rtr, byte len, const byte *buf, byte iTxBuf=0xff)=0 |
virtual byte | sendMsgBuf (byte status, unsigned long id, byte ext, byte rtr, byte len, volatile const byte *buf)=0 |
virtual byte | sendMsgBuf (unsigned long id, byte ext, byte rtrBit, byte len, const byte *buf, bool wait_sent=true)=0 |
virtual void | clearBufferTransmitIfFlags (byte flags=0)=0 |
virtual byte | readRxTxStatus (void)=0 |
virtual byte | checkClearRxStatus (byte *status)=0 |
virtual byte | checkClearTxStatus (byte *status, byte iTxBuf=0xff)=0 |
virtual bool | mcpPinMode (const byte pin, const byte mode)=0 |
virtual bool | mcpDigitalWrite (const byte pin, const byte mode)=0 |
virtual byte | mcpDigitalRead (const byte pin)=0 |
MCP_CAN (byte _CS) | |
void | init_CS (byte _CS) |
void | setSPI (SPIClass *_pSPI) |
Protected Attributes | |
byte | ext_flg |
unsigned long | can_id |
byte | rtr |
byte | SPICS |
SPIClass * | pSPI |
byte | mcpMode |
MCP_CAN::MCP_CAN | ( | byte | _CS | ) |
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
inline |
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
void MCP_CAN::init_CS | ( | byte | _CS | ) |
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
inline |
|
inline |
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
void MCP_CAN::setSPI | ( | SPIClass * | _pSPI | ) |
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
pure virtual |
Implemented in mcp2518fd.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |