请问IWR1642如何读写寄存器,比如我要实现软件复位,通过论坛中其他帖子得知可以通过将0x0000_000AD写入SOFTSRSRST寄存器来实现,可是我通过指针直接修改寄存器数据却没有复位,不知道是不是我的方法是错误的。
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.
请问IWR1642如何读写寄存器,比如我要实现软件复位,通过论坛中其他帖子得知可以通过将0x0000_000AD写入SOFTSRSRST寄存器来实现,可是我通过指针直接修改寄存器数据却没有复位,不知道是不是我的方法是错误的。
/* topRCM->SOFTSYSRST */
uint32_t* regAddr = (uint32_t*)0xFFFFE11C;
*regAddr = 0xAD;
写完读取一下寄存器值看看。