我假设当新的BLE数据写入I2C端口时,程序试图跳转到user_catch_rest_hndl()函数,I2C阻止这种情况发生,
是否有可能阻止芯片接收任何新的BLE数据,直到所有的I2C通信完成?我想做的是,在我启动I2C通信之前,先“停止BLE数据接收”,这样芯片就会忽略任何新的进入的BLE数据,然后等到所有I2C操作完成后,再“启动BLE数据接收”。
如何做到这一点?< / 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-ble-disconnection-da14580”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > i2c ble断开DA14580 < / > < / 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 / DA14580 typeof =“skos:概念”属性= " rdfs: labelskos: prefLabel”数据类型= " " > DA14580 < / > < / div > < / div > < / div >