|
Nexus Embedded Platform 1.0.0
Statically assembled reusable embedded mechanisms
|
Optional single-owner RS485 direction and wire-tail adapter. More...
Go to the source code of this file.
Data Structures | |
| struct | nx_uart_rs485_config_t |
| Immutable selected electrical/timing facts, no task or heap. More... | |
| struct | nx_uart_rs485_state_t |
| Caller-owned opt-in adapter, zero-initialize before init. More... | |
Typedefs | |
| typedef 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. | |
Functions | |
| 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. | |
Variables | |
| const nx_uart_ops_t | nx_uart_rs485_ops |
Optional single-owner RS485 direction and wire-tail adapter.
Definition in file uart_rs485.h.
| typedef 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.
| [in] | context | The immutable transport face's exact context. |
| [in] | request | Live READY or QUEUED descriptor, never retained. |
Definition at line 25 of file uart_rs485.h.
| 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.
| [in,out] | state | Fresh zero-initialized caller control. |
| [in] | config | Immutable lifetime binding; one authorized DE bit, real board polarity, setup/hold in nx_time_now_us domain. |
|
extern |