需要为io口分配IO地址
用到了ioport unsigned int portffff
显示错误 syntax error
可能是头文件没有定义ioport
有谁用过ioport吗 帮忙解释一下
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.
需要为io口分配IO地址
用到了ioport unsigned int portffff
显示错误 syntax error
可能是头文件没有定义ioport
有谁用过ioport吗 帮忙解释一下
请问定义的时候最后分号加了吗?
ioport unsigned portffff;
ioport的例程在下面的文档第114页。
http://www.ti.com/lit/ug/spru103g/spru103g.pdf
之前碰到过类似的问题。
http://www.deyisupport.com/question_answer/dsp_arm/c5000/f/48/p/95789/248050.aspx#248050
编译能通过就没问题。
再问一下,仅在C5402情况下,io口特指数据总线吗?
比如 ioport unsigned portABCD
那0xABCD的地址里,存放的数据是D[15:0]的吗
如果是,那么A[15:0]的输出值是ABCD吗?
因为程序应用于AD转换 想用ioport实现AD转换后的数字信号接收功能