Hello support team!
您能告诉我UART通信期间的中断处理吗?
文件:demo_uart_os.c
函数:ad_uart_read
现在我用它如下。(循环处理)
{
cnt = ad_uart_read (dev, buf, 10, 5000);Q1) {
}
}
Q1)当数据在缓冲区
接收时,我如何处理接收中断的通知,而不是像上面描述的那样继续在循环(轮询过程)中读取?
Q2)是否可能同时中断UART1和UART2?如果可能的话,你能告诉我具体的设置吗?< / p > < p >问候,< / p > < p > Jun-ichi < / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / uart-communication-interrupt typeof =“skos:概念”属性= " rdfs: label skos: prefLabel”数据类型= " " > UART通信中断< / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da1468x”typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">DA1468x