Q1:我注意到line353 354的代码没有意义
Q2:Board_pinmuxWriteReg(domain,(baseAddr + pInstanceData[k].pinOffset),(pInstanceData[k].pinSettings))将会把寄存器里面的原始值覆盖,如果考虑到Q1里面提到的
rdRegVal, 是不是写入 (pInstanceData[k].pinSettings) | rdRegVal 更加合理
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.
Q1:我注意到line353 354的代码没有意义
Q2:Board_pinmuxWriteReg(domain,(baseAddr + pInstanceData[k].pinOffset),(pInstanceData[k].pinSettings))将会把寄存器里面的原始值覆盖,如果考虑到Q1里面提到的
rdRegVal, 是不是写入 (pInstanceData[k].pinSettings) | rdRegVal 更加合理