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

Opaque handle returned by display_init. More...

#include <ra8_display_pal_internal.h>

Collaboration diagram for display_handle:

Data Fields

const display_backend_iface_tiface
 Bound backend vtable.
void * ctx
 Backend-private context ptr.

Detailed Description

Opaque handle returned by display_init.

Concrete definition of the opaque handle apps see.

All subsequent PAL calls take a display_handle_t* so the PAL knows which backend to dispatch through. The concrete definition lives in src/ra8_display_pal_internal.h and is invisible to applications.

Since
0.1.0

One module-static instance lives in the dispatcher's TU; the address is returned to callers by display_init. The handle carries the bound iface and the backend's private context pointer – the dispatcher never reaches into ctx itself.

Invariant
iface is non-NULL while the handle is initialised.
Since
0.1.0

Definition at line 96 of file ra8_display_pal_internal.h.

Field Documentation

◆ ctx

void* display_handle::ctx

Backend-private context ptr.

Definition at line 98 of file ra8_display_pal_internal.h.

◆ iface

const display_backend_iface_t* display_handle::iface

Bound backend vtable.

Definition at line 97 of file ra8_display_pal_internal.h.


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