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

Append-only builder over caller-owned node storage. More...

#include <ra8_box.h>

Collaboration diagram for ra8_box_tree_t:

Data Fields

ra8_box_tnodes
 Caller storage.
uint16_t cap
 Capacity of nodes.
uint16_t count
 Nodes used.

Detailed Description

Append-only builder over caller-owned node storage.

Nodes are appended in construction order, so a parent always has a lower index than its children – which is what lets ra8_box_layout run as a single in-order forward pass with no recursion.

Definition at line 115 of file ra8_box.h.

Field Documentation

◆ cap

uint16_t ra8_box_tree_t::cap

Capacity of nodes.

Definition at line 117 of file ra8_box.h.

Referenced by ra8_box_add(), and ra8_box_tree_init().

◆ count

◆ nodes


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