TuyaOS
成员变量
TUYA_IIC_STATUS_T结构体 参考

成员变量

UINT32_T arbitration_lost: 1
 Master lost arbitration(in case of multi-masters) (cleared on start of next Master operation)
 
UINT32_T bus_error: 1
 Bus error detected (cleared on start of next Master/Slave operation)
 
UINT32_T busy: 1
 Transmitter/Receiver busy flag,1 is busy.
 
UINT32_T direction: 1
 Direction: 0=Transmitter, 1=Receiver
 
UINT32_T general_call: 1
 General Call(address 0) indication (cleared on start of next Slave operation)
 
UINT32_T mode: 1
 Mode: 0=Slave, 1=Master
 

该结构体的文档由以下文件生成: