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

Fixed-depth screen-id stack (caller-owned). More...

#include <ra8_ui.h>

Data Fields

uint16_t stack [k_ra8_ui_nav_max_depth]
 Screen-id stack.
uint8_t depth
 Occupied slots (1..max).
uint8_t reserved [3]
 Padding.

Detailed Description

Fixed-depth screen-id stack (caller-owned).

stack[0] is the root screen (never popped). depth is the number of occupied slots (always >= 1 once initialised). Screen ids are opaque uint16_t values the caller assigns.

Definition at line 163 of file ra8_ui.h.

Field Documentation

◆ depth

uint8_t ra8_ui_nav_t::depth

Occupied slots (1..max).

Definition at line 165 of file ra8_ui.h.

Referenced by ra8_ui_nav_init(), ra8_ui_nav_pop(), ra8_ui_nav_push(), ra8_ui_nav_replace(), and ra8_ui_nav_top().

◆ reserved

uint8_t ra8_ui_nav_t::reserved[3]

Padding.

Definition at line 166 of file ra8_ui.h.

◆ stack

uint16_t ra8_ui_nav_t::stack[k_ra8_ui_nav_max_depth]

Screen-id stack.

Definition at line 164 of file ra8_ui.h.

Referenced by ra8_ui_nav_init(), ra8_ui_nav_pop(), ra8_ui_nav_push(), ra8_ui_nav_replace(), and ra8_ui_nav_top().


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