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

UART and pacing operations used by the bounded receiver. More...

#include <ra8_net_provision.h>

Data Fields

ra8_net_provision_uart_write_fn write
 Non-secret prompt transmitter.
ra8_net_provision_uart_read_fn read
 Non-blocking input drain.
ra8_net_provision_wait_fn wait_ms
 Incomplete-poll pacing operation.

Detailed Description

UART and pacing operations used by the bounded receiver.

Production binds these rows to the board console and time service; host tests bind deterministic recorders. The receiver never writes received bytes, so the interface cannot accidentally echo secrets.

Invariant
Every operation is non-null before a receive begins.
read is non-blocking and reports at most its supplied capacity.
Example:
.write = board_write, .read = board_read, .wait_ms = board_wait,
};
struct ra8_net_provision_uart ra8_net_provision_uart_t
See also
ra8_net_provision_receive
Since
0.1.0

Definition at line 130 of file ra8_net_provision.h.

Field Documentation

◆ read

ra8_net_provision_uart_read_fn ra8_net_provision_uart::read

Non-blocking input drain.

Definition at line 132 of file ra8_net_provision.h.

Referenced by internal_receive_line(), and internal_validate_receiver().

◆ wait_ms

ra8_net_provision_wait_fn ra8_net_provision_uart::wait_ms

Incomplete-poll pacing operation.

Definition at line 133 of file ra8_net_provision.h.

Referenced by internal_receive_line(), and internal_validate_receiver().

◆ write

ra8_net_provision_uart_write_fn ra8_net_provision_uart::write

Non-secret prompt transmitter.

Definition at line 131 of file ra8_net_provision.h.

Referenced by internal_validate_receiver(), and ra8_net_provision_receive().


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