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.
这样定义语法没有错误,可能是兼容性的问题,你看一下能不能编译通过。或者用这种定义方式。#define regname (*(volatile ioport unsigned short*)regaddr)
能编译过,
ioport int *my_pointer;ioport int i;
这两句如何用你写的方法写那?谢谢
请问你用的是什么DSP?
我这种写法是针对C55x 外设寄存器
en我用的是5509a
请问要访问哪个外设寄存器?直接按照我上面的写法填进去就可以了。
嗯 谢谢