

// Receive Data from the IF2 buffer
void receive_data (char MsgNum)
{
  unsigned int data1;
  unsigned int data2;

  SFRPAGE  = CAN0_PAGE; // IF1 already set up for RX
  CAN0ADR  = IF2CMDRQST;// Point to Command Request Reg.
  CAN0DATL = MsgNum;    // Move new data for RX from Msg Obj "MsgNum"

  CAN0ADR  = IF2ARB1;
  gui_arbt1 = CAN0DAT;
  gui_arbt2 = CAN0DAT;


