rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
display_state_t Struct Reference

The driver's state; all zero while the display is down. More...

Data Fields

bool initialised
esp_ldo_channel_handle_t phy_ldo
esp_lcd_dsi_bus_handle_t bus
esp_lcd_panel_io_handle_t io
esp_lcd_panel_handle_t panel
SemaphoreHandle_t done_sem
SemaphoreHandle_t vsync_sem
atomic_uint vsyncs
gfx_color_t * fb [2]
uint8_t back
gfx_canvas_t canvas
gfx_color_t * lfb [2]
ppa_client_handle_t ppa
SemaphoreHandle_t ppa_sem
gfx_turn_t turn
uint32_t frames
uint32_t fps_frames
int64_t fps_window_us
float fps
uint32_t last_wait_us

Detailed Description

The driver's state; all zero while the display is down.

Field Documentation

◆ back

uint8_t display_state_t::back

index the CPU draws into

◆ bus

esp_lcd_dsi_bus_handle_t display_state_t::bus

the DSI bus

◆ canvas

gfx_canvas_t display_state_t::canvas

fb[back], or lfb[back] turned

◆ done_sem

SemaphoreHandle_t display_state_t::done_sem

a frame buffer's scan ended

◆ fb

gfx_color_t* display_state_t::fb[2]

the frame buffers

◆ fps

float display_state_t::fps

the last window's rate

◆ fps_frames

uint32_t display_state_t::fps_frames

flips in the current window

◆ fps_window_us

int64_t display_state_t::fps_window_us

start of the current window

◆ frames

uint32_t display_state_t::frames

flips since init

◆ initialised

bool display_state_t::initialised

display_init() succeeded

◆ io

esp_lcd_panel_io_handle_t display_state_t::io

the command interface

◆ last_wait_us

uint32_t display_state_t::last_wait_us

the last flip's wait

◆ lfb

gfx_color_t* display_state_t::lfb[2]

the logical buffers, turned

◆ panel

esp_lcd_panel_handle_t display_state_t::panel

the DPI panel

◆ phy_ldo

esp_ldo_channel_handle_t display_state_t::phy_ldo

the DSI PHY supply

◆ ppa

ppa_client_handle_t display_state_t::ppa

the PPA's rotate client

◆ ppa_sem

SemaphoreHandle_t display_state_t::ppa_sem

a PPA copy finished

◆ turn

gfx_turn_t display_state_t::turn

Screen rotation's state

◆ vsync_sem

SemaphoreHandle_t display_state_t::vsync_sem

a VSYNC event came

◆ vsyncs

atomic_uint display_state_t::vsyncs

VSYNC events since init


The documentation for this struct was generated from the following file:
  • firmware/panel/components/display/display.c