Nexus Embedded Platform 0.1.0
Statically assembled reusable embedded mechanisms
Loading...
Searching...
No Matches
spi_async_owner.h File Reference

Optional finite async SPI executor for one explicit bus. More...

Go to the source code of this file.

Data Structures

struct  nx_spi_async_owner_executor_t
 Exact async storage independent of the polling adapter. More...

Functions

nx_owner_executor_port_t nx_spi_async_owner_executor_port (nx_spi_async_owner_executor_t *executor, const nx_spi_port_t *port)
 Bind one async-capable bus to an explicit owner executor.

Detailed Description

Optional finite async SPI executor for one explicit bus.

Author
Nexus Team

Definition in file spi_async_owner.h.

Function Documentation

◆ nx_spi_async_owner_executor_port()

nx_owner_executor_port_t nx_spi_async_owner_executor_port ( nx_spi_async_owner_executor_t * executor,
const nx_spi_port_t * port )

Bind one async-capable bus to an explicit owner executor.

Parameters
[out]executorFresh storage with no previous outstanding loans.
[in]portInitialized controller exclusively owned by this executor; direct clients and other owners must quiesce.
Returns
Valid executor port, or a zero port for incomplete methods.
Note
Startup/task context. Operations use nx_spi_owner_operation_t endpoints on this bus only; membership is checked before admission. No polling fallback is selected. Controller and executor remain live through drain, control acknowledgement and observer exit. QUARANTINED retains both buffer loans. Hardware stop and IRQ/notification destruction are explicit external steps after owner shutdown, not part of this bind.