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.

我想在DSP2803x_examples_cla_ccsv5\acos中添加GPIO口定时翻转?但是错误连连?

我在acos_main.c这里添加如下代码,却出现如下问题,请问这是怎么回事

  • Description Resource Path Location Type
    #137 union "GPADAT_REG" has no field "GPIO1"     acos_main.c /acos      line 148     C/C++ Problem

  • 你添加的这几条语句中间丢了个.bit,请参考GPIO相关例程

    正确应该是:例如,GpioCtrlRegs.GPAMUX1.bit.GPIO0 = 0;