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

Configuration for the background-image (Graphics 2) layer. More...

#include <ra8_glcdc.h>

Data Fields

uint32_t framebuffer_addr
 Layer-2 framebuffer base address.
uint32_t line_stride_bytes
 Bytes between successive scan lines.
uint16_t width_px
 Layer-2 image width (pixels).
uint16_t height_px
 Layer-2 image height (lines).
uint16_t pos_x
 Top-left X within the panel viewport.
uint16_t pos_y
 Top-left Y within the panel viewport.
ra8_glcdc_pixel_fmt_t format
 Pixel format code (FLM6.FORMAT).
uint8_t alpha
 Constant alpha 0..255 (AB7.ARCDEF).

Detailed Description

Configuration for the background-image (Graphics 2) layer.

Graphics 2 is the lower layer in the GLCDC blender; Graphics 1 (the UI overlay configured by ra8_glcdc_init) is composited over the top of it. Layer 2 has its own framebuffer base, format, line stride, on-panel position, on-panel size, and a constant alpha that gates alpha-blending of the lower layer.

Definition at line 74 of file ra8_glcdc.h.

Field Documentation

◆ alpha

uint8_t ra8_glcdc_layer2_cfg_t::alpha

Constant alpha 0..255 (AB7.ARCDEF).

Definition at line 82 of file ra8_glcdc.h.

Referenced by ra8_glcdc_set_layer2().

◆ format

ra8_glcdc_pixel_fmt_t ra8_glcdc_layer2_cfg_t::format

Pixel format code (FLM6.FORMAT).

Definition at line 81 of file ra8_glcdc.h.

Referenced by ra8_glcdc_set_layer2().

◆ framebuffer_addr

uint32_t ra8_glcdc_layer2_cfg_t::framebuffer_addr

Layer-2 framebuffer base address.

Definition at line 75 of file ra8_glcdc.h.

Referenced by ra8_glcdc_set_layer2().

◆ height_px

uint16_t ra8_glcdc_layer2_cfg_t::height_px

Layer-2 image height (lines).

Definition at line 78 of file ra8_glcdc.h.

Referenced by ra8_glcdc_set_layer2().

◆ line_stride_bytes

uint32_t ra8_glcdc_layer2_cfg_t::line_stride_bytes

Bytes between successive scan lines.

Definition at line 76 of file ra8_glcdc.h.

Referenced by ra8_glcdc_set_layer2().

◆ pos_x

uint16_t ra8_glcdc_layer2_cfg_t::pos_x

Top-left X within the panel viewport.

Definition at line 79 of file ra8_glcdc.h.

Referenced by ra8_glcdc_set_layer2().

◆ pos_y

uint16_t ra8_glcdc_layer2_cfg_t::pos_y

Top-left Y within the panel viewport.

Definition at line 80 of file ra8_glcdc.h.

Referenced by ra8_glcdc_set_layer2().

◆ width_px

uint16_t ra8_glcdc_layer2_cfg_t::width_px

Layer-2 image width (pixels).

Definition at line 77 of file ra8_glcdc.h.

Referenced by ra8_glcdc_set_layer2().


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