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

The typed query buffer + commit state. More...

#include <ra8_keyboard.h>

Data Fields

char buf [k_ra8_kbd_text_max]
 NUL-terminated query.
uint8_t len
 Chars before the NUL.
bool committed
 RETURN was applied.

Detailed Description

The typed query buffer + commit state.

Invariant
len < k_ra8_kbd_text_max; buf[len] == '\0'.

Definition at line 110 of file ra8_keyboard.h.

Field Documentation

◆ buf

char ra8_kbd_text_t::buf[k_ra8_kbd_text_max]

NUL-terminated query.

Definition at line 111 of file ra8_keyboard.h.

Referenced by internal_append(), main(), ra8_kbd_apply(), and ra8_kbd_text_init().

◆ committed

bool ra8_kbd_text_t::committed

RETURN was applied.

Definition at line 113 of file ra8_keyboard.h.

Referenced by main(), ra8_kbd_apply(), and ra8_kbd_text_init().

◆ len

uint8_t ra8_kbd_text_t::len

Chars before the NUL.

Definition at line 112 of file ra8_keyboard.h.

Referenced by internal_append(), main(), ra8_kbd_apply(), and ra8_kbd_text_init().


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