I2C子系统之驱动SSD1306 OLED(4)


static struct i2c_driver ssd1306_driver = {
    .driver = {
            .name    = "ssd1306",
        },
        .id    = I2C_DRIVERID_I2CDEV,
        .attach_adapter = ssd1306_attach_adapter,
        .detach_client    = ssd1306_detach_client,
};

struct i2c_client *ssd1306_client;

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/7523527a0e17da2d479d416348ae0566.html