6#ifndef NEXUS_UART_RS485_H
7#define NEXUS_UART_RS485_H
Fixed GPIO authorization masks and bounded port operations.
struct nx_gpio_port nx_gpio_port_t
nx_result_t
Operation result; success at submission means admission only.
Shared read-only methods using one provider state.
Immutable selected electrical/timing facts, no task or heap.
const nx_gpio_port_t * direction
nx_uart_tx_validate_fn validate
const nx_uart_port_t * transport
Caller-owned opt-in adapter, zero-initialize before init.
nx_uart_tx_request_t inner
nx_uart_tx_request_t * active
const nx_uart_rs485_config_t * config
Caller-owned TX descriptor; initialize base before first prepare.
uint64_t nx_time_us_t
Microseconds in one boot/clock domain; no wall-clock semantics.
IRQ TX requests and independently budgeted byte/event reception.
struct nx_uart_port nx_uart_port_t
nx_result_t(* nx_uart_tx_validate_fn)(void *context, const nx_uart_tx_request_t *request)
Exact transport's side-effect-free TX admission validator.
const nx_uart_ops_t nx_uart_rs485_ops
nx_result_t nx_uart_rs485_initialize(nx_uart_rs485_state_t *state, const nx_uart_rs485_config_t *config)
Bind exclusive transport and establish inactive DE.