Communication control method and system based on IIC bus and electronic equipment
The invention discloses a communication control method and system based on an IIC bus and electronic equipment. The IIC bus is used for being connected with a plurality of devices for communication of the plurality of devices, and the method comprises the steps that when the IIC bus needs to be occu...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a communication control method and system based on an IIC bus and electronic equipment. The IIC bus is used for being connected with a plurality of devices for communication of the plurality of devices, and the method comprises the steps that when the IIC bus needs to be occupied, the priority of the IIC bus is compared with the priority, obtained in a monitoring state, of a host device in communication; when the priority of the IIC bus is higher than the priority of the host equipment, the IIC bus is occupied for communication, and/or when the priority of the IIC bus is lower than or equal to the priority of the host equipment, the IIC bus is waited to be released. According to the communication control method provided by the invention, an original data line SDA arbitration mode is not influenced, and high-priority events can be executed first and low-priority events can be executed later, so that the problems that a plurality of host devices are arranged on the IIC communication bus, |
---|