已经获取到控制LED的寄存器地址,并将其赋值为全0,但是通过XDS200仿真器LOAD之后调试,四盏灯并没有按照预期全灭。
要正确控制LED灯应该怎么做?有现成提供的函数接口吗?在哪里可以找到这个接口?或者必须直接操作寄存器?为何我的操作不能成功呢?
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.
已经获取到控制LED的寄存器地址,并将其赋值为全0,但是通过XDS200仿真器LOAD之后调试,四盏灯并没有按照预期全灭。
要正确控制LED灯应该怎么做?有现成提供的函数接口吗?在哪里可以找到这个接口?或者必须直接操作寄存器?为何我的操作不能成功呢?