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.
在SCI模块官方示例中(loopback模式,无中断):
SCI的初始化scia_loopback_init函数中:
SciaRegs.SCICTL2.all =0x0003;
SciaRegs.SCICTL2.bit.TXINTENA =1;
SciaRegs.SCICTL2.bit.RXBKINTENA =1;
为什么这里SCICTL2要初始化2遍? 在SCICTL2.all=0x0003中已经完成了TXINTENA和RXINTENA的置位,不是重复了么?
另外本实例中没有使用接收中断,为什么要设置SciaRegs.SCIFFRX.all=0x2044?