yabo国际娱乐对话半导体客户支持-精通 https://support.dialog-semiconductor.com/resource-keywords/master I2C适配器异步写:挂起事务问题 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/i2c-adapter-async-write-pending < 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:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >我使用i2c适配器(在主模式下)做的异步写或读,永远等待一个OS_EVENT从回调信号。
然而,我想要能够设置一个超时值,以便它不会卡住,如果说在总线上没有设备。
但是在超时之后,如果我尝试启动另一个异步读写适配器挂起,因为有(例如2)未完成的挂起事务。我如何取消这些挂起的事务,或者更好的是,如何使用ad_i2c_async_read或ad_i2c_async_write超时。< / 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 / i2c”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > i2c < / > < / div > < div类= " field-item奇怪" > < a href = " / resource-keywords / adi2c”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > ad_i2c < / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords /大师”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >主< / > < / div > < div class = " field-item古怪”> 超时< / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords / freertos”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > freertos < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords /异步”typeof = " skos:概念”属性= " rdfs: label skos: prefLabel”异步数据类型= " " > < / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords /适配器”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >适配器< / > < / div > < / div > < / div > < div class = "字段field-name-field-device field-type-taxonomy-term-reference field-label-above">
Device: 
2018年2月28日星期三14:38:44 +0000 rajames 155272年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/i2c-adapter-async-write-pending#comments
动态无线通信主从分配 https://support.dialog-semiconductor.com/wireless-comm-master-slave-assignment-fly < 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:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >下串行通信的例子,你有两个独立的项目,一个设备和一个主机(我读这作为Slave和Master,分别)。对于DA14580,是否能够在运行中改变这种关系?假设我有一个设备A,它作为一个主设备,它的角色是传输数据到设备B(从设备)。然而,在某些情况下,我将使用PC下载数据到设备a。在这种情况下,PC充当主设备,而设备a现在已经从主设备变成了从设备。这是如何实现的?< / 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 /串行通信”“=“skos:概念”属性=“rdfs: label skos: prefLabel”串口通信数据类型= " " > < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords /大师”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >主< / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords /奴隶”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >奴隶< / > < / div > < divclass="field-item odd"> device 2015年3月2日星期一23:46:49 +0000 jimctr 1167年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/wireless-comm-master-slave-assignment-fly#comments