If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
while (sciIsIdleDetected (scilinREG));
gioSetBit (hetPORT1,1U,1);//用于方向控制:1:表示传输
while (!sciIsTxReady (scilinREG));
sciSend (scilinREG、TISIZEE1、&text1[0]);
while (sciIsIdleDetected (scilinREG));
gioSetBit (hetPORT1,1U,0);//用于方向控制:0:表示接收
while (!sciIsRxReady (scilinREG));
sciReceive (scilinREG、TISIZEE1、&text2[0]);