MCPcopy Create free account
hub / github.com/Seeed-Studio/Seeed_Arduino_CAN / attach

Method attach

src/can-serial.cpp:65–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63MCP_CAN* Can232::MCP_OBJECT = NULL;
64
65void Can232::attach(MCP_CAN *CAN) {
66 MCP_OBJECT = CAN;
67 #define lw232CAN MCP_OBJECT
68}
69
70void Can232::setFilter(INT8U (*userFunc)(INT32U)) {
71 instance()->setFilterFunc(userFunc);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected