ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
display_caps_t Struct Reference

Capabilities a backend reports after display_init. More...

#include <ra8_display_pal.h>

Data Fields

uint16_t width_px
 Display visible width.
uint16_t height_px
 Display visible height.
display_pixfmt_t pixfmt
 App-facing canonical format.
uint32_t stride_bytes
 Framebuffer row stride in bytes.
uint32_t refresh_latency_us_typ
 Typical flush() cost in usec.
bool supports_partial_update
 true => sub-rect flush honoured.
bool continuous_refresh
 true => panel scans continuously.

Detailed Description

Capabilities a backend reports after display_init.

Lets apps query the runtime properties of the bound backend without coupling to its implementation. refresh_latency_us_typ is 0 for scan-out panels (LCD) and tens to hundreds of milliseconds for e-ink in quality mode – apps that drive animation should branch on it rather than blindly issuing one display_flush per frame.

Since
0.1.0

Definition at line 145 of file ra8_display_pal.h.

Field Documentation

◆ continuous_refresh

bool display_caps_t::continuous_refresh

true => panel scans continuously.

Definition at line 152 of file ra8_display_pal.h.

◆ height_px

uint16_t display_caps_t::height_px

Display visible height.

Definition at line 147 of file ra8_display_pal.h.

Referenced by display_full_rect(), internal_eink_check_rect(), and internal_lcd_check_rect().

◆ pixfmt

display_pixfmt_t display_caps_t::pixfmt

App-facing canonical format.

Definition at line 148 of file ra8_display_pal.h.

◆ refresh_latency_us_typ

uint32_t display_caps_t::refresh_latency_us_typ

Typical flush() cost in usec.

Definition at line 150 of file ra8_display_pal.h.

◆ stride_bytes

uint32_t display_caps_t::stride_bytes

Framebuffer row stride in bytes.

Definition at line 149 of file ra8_display_pal.h.

◆ supports_partial_update

bool display_caps_t::supports_partial_update

true => sub-rect flush honoured.

Definition at line 151 of file ra8_display_pal.h.

◆ width_px

uint16_t display_caps_t::width_px

Display visible width.

Definition at line 146 of file ra8_display_pal.h.

Referenced by display_full_rect(), internal_eink_check_rect(), and internal_lcd_check_rect().


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