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

Serializable pseudo-text generator cursor. More...

#include <sweep_block_internal.h>

Data Fields

uint64_t rng
 PRNG state.
uint32_t word_index
 Selected word or sentinel.
uint32_t word_offset
 Byte position in the selected word.
uint32_t sentence_words
 Words emitted in the current sentence.
uint8_t phase
 Word/separator phase.

Detailed Description

Serializable pseudo-text generator cursor.

Definition at line 151 of file sweep_block_internal.h.

Field Documentation

◆ phase

uint8_t cbs_payload_state_t::phase

Word/separator phase.

Definition at line 156 of file sweep_block_internal.h.

Referenced by internal_payload_next().

◆ rng

uint64_t cbs_payload_state_t::rng

PRNG state.

Definition at line 152 of file sweep_block_internal.h.

Referenced by internal_payload_next().

◆ sentence_words

uint32_t cbs_payload_state_t::sentence_words

Words emitted in the current sentence.

Definition at line 155 of file sweep_block_internal.h.

Referenced by internal_payload_next().

◆ word_index

uint32_t cbs_payload_state_t::word_index

Selected word or sentinel.

Definition at line 153 of file sweep_block_internal.h.

Referenced by internal_payload_next().

◆ word_offset

uint32_t cbs_payload_state_t::word_offset

Byte position in the selected word.

Definition at line 154 of file sweep_block_internal.h.

Referenced by internal_payload_next().


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