|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Configuration descriptor passed into display_init. More...
#include <ra8_display_pal.h>
Data Fields | |
| const display_backend_iface_t * | iface |
| Backend vtable (one of the k_display_backend_* consts). | |
| void * | framebuffer |
| Application framebuffer storage (caller owns). | |
| uint32_t | framebuffer_bytes |
| Size of the framebuffer buffer in bytes. | |
| uint16_t | width_px |
| Visible framebuffer width in pixels. | |
| uint16_t | height_px |
| Visible framebuffer height in pixels. | |
| display_pixfmt_t | pixfmt |
| Pixel format of framebuffer. | |
| const void * | panel_timing |
| Panel RGB timing for parallel-RGB backends, opaque here so the generic PAL stays HAL-agnostic. | |
Configuration descriptor passed into display_init.
The caller fills this with the backend they want, the framebuffer storage they want the backend to use, and the geometry the application is targeting. Each backend validates the fields and returns an error on mismatch (e.g. an LCD backend rejects a 1bpp grey format).
Definition at line 240 of file ra8_display_pal.h.
| void* display_cfg_t::framebuffer |
Application framebuffer storage (caller owns).
Definition at line 244 of file ra8_display_pal.h.
Referenced by internal_eink_snapshot(), internal_eink_validate_cfg(), internal_lcd_bringup_panel(), internal_lcd_snapshot(), and internal_lcd_validate_cfg().
| uint32_t display_cfg_t::framebuffer_bytes |
Size of the framebuffer buffer in bytes.
Definition at line 246 of file ra8_display_pal.h.
Referenced by internal_eink_validate_cfg(), and internal_lcd_validate_cfg().
| uint16_t display_cfg_t::height_px |
Visible framebuffer height in pixels.
Definition at line 250 of file ra8_display_pal.h.
Referenced by internal_eink_snapshot(), internal_eink_validate_cfg(), internal_lcd_bringup_panel(), internal_lcd_snapshot(), and internal_lcd_validate_cfg().
| const display_backend_iface_t* display_cfg_t::iface |
Backend vtable (one of the k_display_backend_* consts).
Definition at line 242 of file ra8_display_pal.h.
Referenced by display_init().
| const void* display_cfg_t::panel_timing |
Panel RGB timing for parallel-RGB backends, opaque here so the generic PAL stays HAL-agnostic.
The LCD/GLCDC backend casts it to const ra8_glcdc_timing_t*; the board's BSP supplies it (e.g. &s_ra8_panel_ek_ra8d2_timing). Leave nullptr for backends that do not drive panel timing (host window, e-ink).
Definition at line 260 of file ra8_display_pal.h.
Referenced by internal_eink_init(), internal_eink_validate_cfg(), internal_lcd_bringup_panel(), and internal_lcd_validate_cfg().
| display_pixfmt_t display_cfg_t::pixfmt |
Pixel format of framebuffer.
Definition at line 252 of file ra8_display_pal.h.
Referenced by internal_eink_validate_cfg(), and internal_lcd_validate_cfg().
| uint16_t display_cfg_t::width_px |
Visible framebuffer width in pixels.
Definition at line 248 of file ra8_display_pal.h.
Referenced by internal_eink_snapshot(), internal_eink_validate_cfg(), internal_lcd_bringup_panel(), internal_lcd_snapshot(), and internal_lcd_validate_cfg().