25 #if !defined(__LWS_DISPLAY_SSD1306_I2C_H__)
26 #define __LWS_DISPLAY_SSD1306_I2C_H__
33 #define SSD1306_I2C7_ADS1 0x3c
34 #define SSD1306_I2C7_ADS2 0x3d
59 #define lws_display_ssd1306_ops \
60 .init = lws_display_ssd1306_i2c_init, \
61 .contrast = lws_display_ssd1306_i2c_contrast, \
62 .blit = lws_display_ssd1306_i2c_blit, \
63 .power = lws_display_ssd1306_i2c_power
int(* lws_display_completion_t)(lws_display_state_t *lds, int a)
lws_display_completion_t cb
_lws_plat_gpio_t reset_gpio
const lws_i2c_ops_t * i2c
int lws_display_ssd1306_i2c_power(lws_display_state_t *lds, int state)
int lws_display_ssd1306_i2c_contrast(lws_display_state_t *lds, uint8_t b)
const lws_gpio_ops_t * gpio
struct lws_display_ssd1306 lws_display_ssd1306_t
int lws_display_ssd1306_i2c_blit(lws_display_state_t *lds, const uint8_t *src, lws_box_t *box, lws_dll2_owner_t *ids)
int lws_display_ssd1306_i2c_init(lws_display_state_t *lds)