RobotSimulation/pick_and_place/ROS/src/niryo_one_ros/mcp_can_rpi/src/mcp_can_rpi.cpp
void MCP_CAN::mcp2515_modifyRegister(const INT8U address, const INT8U mask, const INT8U data)
{
    unsigned char buf[4] = { MCP_BITMOD, address, mask, data };
    spiTransfer(4, buf);
}
/*********************************************************************************************************
** Function name:           mcp2515_modifyRegister
** Descriptions:            Sets specific bits of a register
*********************************************************************************************************/
Function name:           mcp2515_modifyRegister
Descriptions:            Sets specific bits of a register
Function name : mcp2515_modifyRegister Descriptions : Sets specific bits of a register
void MCP_CAN::mcp2515_modifyRegister(const INT8U address, const INT8U mask, const INT8U data)
{
    unsigned char buf[4] = { MCP_BITMOD, address, mask, data };
    spiTransfer(4, buf);
}
void MCP_CAN :: mcp2515_modifyRegister ( const INT8U address , const INT8U mask , const INT8U data ) { unsigned char buf [ 4 ] = { MCP_BITMOD , address , mask , data } ; spiTransfer ( 4 , buf ) ; }
Function name:           mcp2515_modifyRegister
Descriptions:            Sets specific bits of a register
Function name : mcp2515_modifyRegister Descriptions : Sets specific bits of a register