upm  1.6.0
Sensor/Actuator repository for libmraa (v1.9.0)
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
MCP2515 Class Reference

Public Member Functions

synchronized void delete ()
 
 MCP2515 (int bus, int csPin)
 
void reset ()
 
void setOpmode (MCP2515_OPMODE_T opmode)
 
void setSpeed (MCP2515_SPEED_T speed)
 
void loadTXBuffer (MCP2515_TX_BUFFER_T bufnum, int id, boolean ext, boolean rtr, String payload)
 
void transmitBuffer (MCP2515_TX_BUFFER_T bufnum, boolean wait)
 
boolean isTXBufferFree (MCP2515_TX_BUFFER_T bufnum)
 
MCP2515_TX_BUFFER_T findFreeTXBuffer ()
 
void setTXBufferPriority (MCP2515_TX_BUFFER_T bufnum, MCP2515_TXP_T priority)
 
void abortTX (MCP2515_TX_BUFFER_T bufnum)
 
void setRXBufferMode (MCP2515_RX_BUFFER_T bufnum, MCP2515_RXMODE_T rxm)
 
MCP2515_RXMSG_T rxStatusMsgs ()
 
MCP2515_MSGTYPE_T rxStatusMsgType ()
 
MCP2515_FILTERMATCH_T rxStatusFiltermatch ()
 
int getRXMsg (MCP2515_RX_BUFFER_T bufnum)
 
void printMsg ()
 
int msgGetID ()
 
boolean msgGetRTR ()
 
boolean msgGetEXT ()
 
int msgGetFilterNum ()
 
int msgGetPayloadLen ()
 
String msgGetPayload ()
 
void installISR (int pin, SWIGTYPE_p_f_p_void__void isr, SWIGTYPE_p_void arg)
 
void uninstallISR ()
 
void setIntrEnables (short enables)
 
short getIntrFlags ()
 
void setIntrFlags (short flags)
 
void clearIntrFlags (short flags)
 
short getErrorFlags ()
 
void clearErrorFlags (short flags)
 
void setFilter (MCP2515_RX_FILTER_T filter, boolean ext, int id)
 
void setMask (MCP2515_RX_MASK_T mask, boolean ext, int id)
 
void installISR (int pin, java.lang.Runnable runnable)
 

Protected Member Functions

 MCP2515 (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (MCP2515 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

The documentation for this class was generated from the following file: