A kind of i2c driving method and device
A driving method and device driving technology, applied in the computer field, can solve the problems such as the inability of the I2C driver subsystem to run and the inability to adapt to the I2C slave device.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0027] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.
[0028] Based on the above purpose, the first aspect of the embodiments of the present invention proposes an embodiment of an I2C driving method. figure 1 Shown is a schematic flow chart of the method.
[0029] Such as figure 1 As shown in, the I2C driving method may include the following steps:
[0030] Step S101, creating a JSON script file for describing I2C information, wherein the I2C information includes I2C adapter information and associated I2C slave device information;
[0031] Step S102, read the I2C information described in the JSON script file, and determine whether the I2C information matches the loaded specific I2C adapter driver and the specific I2C slave device driver;
[0032] Step S1...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


