Lightweight C library for HTML5 websockets
lws_display Struct Reference

#include <lws-display.h>

+ Collaboration diagram for lws_display:

Data Fields

int(* init )(struct lws_display_state *lds)
const lws_pwm_ops_tbl_pwm_ops
int(* contrast )(struct lws_display_state *lds, uint8_t contrast)
int(* blit )(struct lws_display_state *lds, const uint8_t *src, lws_box_t *box, lws_dll2_owner_t *ids)
int(* power )(struct lws_display_state *lds, int state)
const lws_led_sequence_def_tbl_active
const lws_led_sequence_def_tbl_dim
const lws_led_sequence_def_tbl_transition
const char * name
void * variant
int bl_index
lws_surface_info_t ic
uint16_t latency_wake_ms
uint16_t latency_update_ms

Detailed Description

Definition at line 100 of file lws-display.h.

Field Documentation

◆ init

int(* lws_display::init) (struct lws_display_state *lds)

Definition at line 101 of file lws-display.h.

◆ bl_pwm_ops

const lws_pwm_ops_t* lws_display::bl_pwm_ops

Definition at line 102 of file lws-display.h.

◆ contrast

int(* lws_display::contrast) (struct lws_display_state *lds, uint8_t contrast)

Definition at line 103 of file lws-display.h.

◆ blit

int(* lws_display::blit) (struct lws_display_state *lds, const uint8_t *src, lws_box_t *box, lws_dll2_owner_t *ids)

Definition at line 104 of file lws-display.h.

◆ power

int(* lws_display::power) (struct lws_display_state *lds, int state)

Definition at line 106 of file lws-display.h.

◆ bl_active

const lws_led_sequence_def_t* lws_display::bl_active

Definition at line 108 of file lws-display.h.

◆ bl_dim

const lws_led_sequence_def_t* lws_display::bl_dim

Definition at line 109 of file lws-display.h.

◆ bl_transition

const lws_led_sequence_def_t* lws_display::bl_transition

Definition at line 110 of file lws-display.h.

◆ name

const char* lws_display::name

Definition at line 112 of file lws-display.h.

◆ variant

void* lws_display::variant

Definition at line 113 of file lws-display.h.

◆ bl_index

int lws_display::bl_index

Definition at line 115 of file lws-display.h.

◆ ic

lws_surface_info_t lws_display::ic

Definition at line 117 of file lws-display.h.

◆ latency_wake_ms

uint16_t lws_display::latency_wake_ms

ms required after wake from sleep before display usable again... delay bringing up the backlight for this amount of time on wake. This is managed via a sul on the event loop, not blocking.

Definition at line 119 of file lws-display.h.

◆ latency_update_ms

uint16_t lws_display::latency_update_ms

nominal update latency in ms

Definition at line 123 of file lws-display.h.

The documentation for this struct was generated from the following file: