c6748芯片在SYS/BIOS下
串口初始化正常,可以轮训发送和接收报文
加入串口中断使能后
Hwi_Params_init(&hwi_p);
hwi_p.eventId = SOC_UART_2_REGS;
hwi_p.enableInt = true;
Hwi_creat(C674X_MASK_INT4, UARTlsr, &hwi_p, null);
为什么GPIO的中断可以进入,而串口的却不可以呢,是不是我操作上有什么不对。
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.
c6748芯片在SYS/BIOS下
串口初始化正常,可以轮训发送和接收报文
加入串口中断使能后
Hwi_Params_init(&hwi_p);
hwi_p.eventId = SOC_UART_2_REGS;
hwi_p.enableInt = true;
Hwi_creat(C674X_MASK_INT4, UARTlsr, &hwi_p, null);
为什么GPIO的中断可以进入,而串口的却不可以呢,是不是我操作上有什么不对。