雷竞技电竞平台对话半导体客户支持- UART通信中断 https://support.dialog-semiconductor.com/resource-keywords/uart-communication-interrupt 如何检测中断在UART通信 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/how-detect-interrupt-during-uart < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”property="rdfs:label skos:prefLabel" datatype="">Dialog Smartbond Bluetooth Low Energy - Software

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

.
星期一,2017年9月4日09:16:19 +0000 Jun-ichi托比 88986年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/how-detect-interrupt-during-uart#comments