25 #if !defined(__LWS_DISPLAY_H__)
26 #define __LWS_DISPLAY_H__
30 typedef uint16_t lws_display_scalar;
46 int (*contrast)(
const struct lws_display *disp, uint8_t contrast);
47 int (*blit)(
const struct lws_display *disp,
const uint8_t *src,
48 lws_display_scalar x, lws_display_scalar y,
49 lws_display_scalar
w, lws_display_scalar
h);
50 int (*power)(
const struct lws_display *disp,
int state);
75 enum lws_display_controller_state {
78 LWSDISPS_BECOMING_ACTIVE,
87 struct lws_context *ctx;
92 struct lws_led_state *bl_lcs;
97 enum lws_display_controller_state state;
119 LWS_VISIBLE LWS_EXTERN
void
121 int autodim_ms,
int off_ms,
struct lws_led_state *bl_lcs,
132 LWS_VISIBLE LWS_EXTERN
void
144 LWS_VISIBLE LWS_EXTERN
void
155 LWS_VISIBLE LWS_EXTERN
void
Definition: lws-display.h:83
Definition: lws-display.h:43
lws_display_scalar h
Definition: lws-display.h:62
uint8_t latency_wake_ms
Definition: lws-display.h:65
lws_display_scalar w
Definition: lws-display.h:60
Definition: lws-timeout-timer.h:215