yabo国际娱乐对话半导体客户支持-重启 https://support.dialog-semiconductor.com/resource-keywords/restart 生成I2C重启信号 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/generate-i2c-restart-signal < 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

我没有在演示项目中找到使用重启信号的示例。
通过引用Html帮助文件,我发现有一个函数叫'hw_i2c_set_restart_enabled '。这是生成重启信号的唯一关键步骤吗?
当用户按“写-读”动作的顺序操作I2C时,硬件会产生重启信号吗?
Start device_addr(w) A reg_addr Restart device_addr(r) A data A data…另一个问题是hw i2c驱动,在hw_i2c.c .c:
in function hw_i2c_read_buffer_sync,有一个while循环重复hw_i2c_read_byte_trigger(id):
while (rr <兰,,Hw_i2c_is_tx_fifo_not_full (id) {
hw_i2c_read_byte_trigger(id);

Thanks

James

Keywords: 
Device: 
星期四,09 Feb 2017 15:31:23 +0000 jamesleo-konka 5389年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%E2%80%93-software/generate-i2c-restart-signal#comments