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.

ESMSRx寄存器读不出来

在调试的时候能观察到ESF10的变化,从0到1,但是定义一个变量来读取他来触发其他动作,但却读不出来,请问是什么原因呢?程序如下:

  ESM_Status=esmGetStatus(0,10);
  if(ESM_Status==1)        //10通道PLL,错误返回值为1
  {
    gioSetBit(hetPORT1, 0, 1);
  }