RobotSimulation/pick_and_place/ROS/src/niryo_one_ros/mcp_can_rpi/src/mcp_can_rpi.cpp
INT8U MCP_CAN::mcp2515_readStatus(void)                             
{
    INT8U i;
    
    unsigned char buf[2] = { MCP_READ_STATUS, 0x00 };
    spiTransfer(2, buf);
    i = buf[1];
    
    return i;
}
/*********************************************************************************************************
** Function name:           mcp2515_readStatus
** Descriptions:            Reads status register
*********************************************************************************************************/
Function name:           mcp2515_readStatus
Descriptions:            Reads status register
Function name : mcp2515_readStatus Descriptions : Reads status register
INT8U MCP_CAN::mcp2515_readStatus(void)                             
{
    INT8U i;
    unsigned char buf[2] = { MCP_READ_STATUS, 0x00 };
    spiTransfer(2, buf);
    i = buf[1];
    return i;
}
INT8U MCP_CAN :: mcp2515_readStatus ( void ) { INT8U i ; unsigned char buf [ 2 ] = { MCP_READ_STATUS , 0x00 } ; spiTransfer ( 2 , buf ) ; i = buf [ 1 ] ; return i ; }
Function name:           mcp2515_readStatus
Descriptions:            Reads status register
Function name : mcp2515_readStatus Descriptions : Reads status register