Nexus Embedded Platform 0.1.0
Statically assembled reusable embedded mechanisms
Loading...
Searching...
No Matches
nx_uart_rs485_state_t Struct Reference

Caller-owned opt-in adapter, zero-initialize before init. More...

#include <uart_rs485.h>

Data Fields

const nx_uart_rs485_config_t * config
nx_uart_tx_request_t inner
nx_uart_tx_request_t * active
nx_time_us_t boundary
nx_result_t terminal
size_t transferred
uint8_t phase
bool initialized
bool closing

Detailed Description

Caller-owned opt-in adapter, zero-initialize before init.

Note
Control is private after initialization. Immutable config, both faces, pin ownership and all storage outlive successful stop plus external observers. Default UART state is unchanged.

Definition at line 52 of file uart_rs485.h.

Field Documentation

◆ active

nx_uart_tx_request_t* nx_uart_rs485_state_t::active

Definition at line 55 of file uart_rs485.h.

◆ boundary

nx_time_us_t nx_uart_rs485_state_t::boundary

Definition at line 56 of file uart_rs485.h.

◆ closing

bool nx_uart_rs485_state_t::closing

Definition at line 61 of file uart_rs485.h.

◆ config

const nx_uart_rs485_config_t* nx_uart_rs485_state_t::config

Definition at line 53 of file uart_rs485.h.

◆ initialized

bool nx_uart_rs485_state_t::initialized

Definition at line 60 of file uart_rs485.h.

◆ inner

nx_uart_tx_request_t nx_uart_rs485_state_t::inner

Definition at line 54 of file uart_rs485.h.

◆ phase

uint8_t nx_uart_rs485_state_t::phase

Definition at line 59 of file uart_rs485.h.

◆ terminal

nx_result_t nx_uart_rs485_state_t::terminal

Definition at line 57 of file uart_rs485.h.

◆ transferred

size_t nx_uart_rs485_state_t::transferred

Definition at line 58 of file uart_rs485.h.


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