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.
请问如何设置UART使用时发送和接收中断的问题?
我这样设置为什么无法成功,我的初始化如下
sciInit(); /* initialize sci/sci-lin */
_enable_interrupt_();//中断使能
sciEnableNotification(UART,SCI_RX_INT);//使能接收中断
void sciNotification(sciBASE_t *sci, uint32 flags) //接收中断处理函数
{
sciDisplayText(sciREG1,(uint8*)"rxtest_successfully\r\n",105);
}
另外sciNotification()这个函数该如何使用,请各位不吝赐教