我用5535做声码器开发,在做功耗控制时发现没有ICR寄存器,手册上说该寄存器的地址是0x0001,但是这个地址是IER在用的,求助。
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.
我用5535做声码器开发,在做功耗控制时发现没有ICR寄存器,手册上说该寄存器的地址是0x0001,但是这个地址是IER在用的,求助。
ICR属于peripheral register, 是在I/O空间, 0x0001是I/O空间的地址, 不是IER MMR, 不冲突. 可以查看datasheet 2.3.4 I/O Memory
所以访问ICR跟IER不一样, 需要用ioport关键字.
见下面的wiki网站
http://processors.wiki.ti.com/index.php/55x_FAQ#How_do_I_access_peripheral_registers.3F