i2c_master 如何判断是发送数据引起的i2c中断还是接收数据引起的i2c中断?
da qin zheng sheng:
读取相关寄存器状态,不建议使用中断模式。
Viki Shi:
可以根据中断寄存器判断中断原因。可参考用户手册获取CC2540的18个中断源以及分别的寄存器信息: www.ti.com/lit/ug/swru191d/swru191d.pdf
i2c_master 如何判断是发送数据引起的i2c中断还是接收数据引起的i2c中断?
读取相关寄存器状态,不建议使用中断模式。
可以根据中断寄存器判断中断原因。可参考用户手册获取CC2540的18个中断源以及分别的寄存器信息: www.ti.com/lit/ug/swru191d/swru191d.pdf
CC2340R5: Some questions about implementing the sending of ADV data on the rfPacketTx routine of the CC2340R5 chip
CC2642R: TI CC2642 HID示例问题
CC2642R: CC2642R使用外部存储W25Q16JVSSIQ, 未写成功,求帮看看是什么问题
LAUNCHXL-CC26X2R1: Some questions about the periodic advertising process of the RTLS responder