Hello support team!
Would you please tell me about interrupt handling during UART communication?
File: demo_uart_os.c
Function: ad_uart_read
Now I use it as follows. (Loop processing)
{
cnt = ad_uart_read (dev, buf, 10, 5000);
if (cnt> 0) {
}
}
Q1) How can I handle notification for receiving interrupts when data is received in the buffer
instead of continuing to read in the loop (polling process) as described above??
Q2)Is it possible to get both interrupts of UART1 and UART2?
Would you please let me know the setting if possible.
Regards,
Jun-ichi