This thread has been locked.

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.

28069m与8305,添加sci.c 与sci.h文件



我按照文件添加sci.c与sci.h文件,未使用中断时,存在一段函数,但是我不清楚这段函数的含义:

      if(SCI_rxDataReady(halHandle->sciBHandle))
      {
          while(SCI_rxDataReady(halHandle->sciBHandle) == 0);
          dataRx = SCI_getDataNonBlocking(halHandle->sciBHandle, &success);
          success = SCI_putDataNonBlocking(halHandle->sciBHandle, dataRx);
      }

dataRx是什么?怎么定义?与下面函数中的dataRx的含义一样嘛?

success又是什么,怎样定义?另外它与&success的含义一样嘛?

假如我要发送  5A A5 04 80 03 00 01

接收的数据为屏幕发送的,需要进行判断,这里接收的数据又是什么表示?