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
42 _lws_plat_gpio_t reset_gpio;
49 lws_display_ssd1306_i2c_init(
const struct lws_display *disp);
51 lws_display_ssd1306_i2c_contrast(
const struct lws_display *disp, uint8_t b);
53 lws_display_ssd1306_i2c_blit(
const struct lws_display *disp,
const uint8_t *src,
54 lws_display_scalar x, lws_display_scalar y,
55 lws_display_scalar w, lws_display_scalar h);
57 lws_display_ssd1306_i2c_power(
const struct lws_display *disp,
int state);
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
Definition: lws-ssd1306-i2c.h:36
Definition: lws-display.h:43
Definition: lws-gpio.h:52