libwebsockets
Lightweight C library for HTML5 websockets
|
Go to the source code of this file.
Data Structures | |
struct | lws_display_ssd1306 |
Macros | |
#define | SSD1306_I2C7_ADS1 0x3c |
#define | SSD1306_I2C7_ADS2 0x3d |
#define | lws_display_ssd1306_ops |
Typedefs | |
typedef struct lws_display_ssd1306 | lws_display_ssd1306_t |
Functions | |
int | lws_display_ssd1306_i2c_init (lws_display_state_t *lds) |
int | lws_display_ssd1306_i2c_contrast (lws_display_state_t *lds, uint8_t b) |
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_power (lws_display_state_t *lds, int state) |
struct lws_display_ssd1306 |
Definition at line 36 of file lws-ssd1306-i2c.h.
Data Fields | ||
---|---|---|
lws_display_t | disp | |
const lws_i2c_ops_t * | i2c | |
lws_display_completion_t | cb | |
const lws_gpio_ops_t * | gpio | |
_lws_plat_gpio_t | reset_gpio | |
uint8_t | i2c7_address |
#define SSD1306_I2C7_ADS1 0x3c |
Definition at line 33 of file lws-ssd1306-i2c.h.
#define SSD1306_I2C7_ADS2 0x3d |
Definition at line 34 of file lws-ssd1306-i2c.h.
#define lws_display_ssd1306_ops |
Definition at line 59 of file lws-ssd1306-i2c.h.
typedef struct lws_display_ssd1306 lws_display_ssd1306_t |
int lws_display_ssd1306_i2c_init | ( | lws_display_state_t * | lds | ) |
int lws_display_ssd1306_i2c_contrast | ( | lws_display_state_t * | lds, |
uint8_t | b | ||
) |
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_power | ( | lws_display_state_t * | lds, |
int | state | ||
) |