Nexus Embedded Platform 1.0.0
Statically assembled reusable embedded mechanisms
Loading...
Searching...
No Matches
nx_spi_ops_t Struct Reference

Shared read-only methods using one provider state. More...

#include <spi.h>

Data Fields

nx_result_t(* recover )(void *context)
nx_result_t(* cancel )(void *context, nx_spi_request_t *request)
void(* service )(void *context)
nx_result_t(* stop )(void *context)
nx_result_t(* attach_wake )(void *context, const nx_irq_wake_t *wake, uint8_t syscall_ceiling)

Detailed Description

Shared read-only methods using one provider state.

Note
Methods follow each public operation's ownership contract. Missing optional methods report UNSUPPORTED.

Definition at line 45 of file spi.h.

Field Documentation

◆ attach_wake

nx_result_t(* nx_spi_ops_t::attach_wake) (void *context, const nx_irq_wake_t *wake, uint8_t syscall_ceiling)

Definition at line 50 of file spi.h.

◆ cancel

nx_result_t(* nx_spi_ops_t::cancel) (void *context, nx_spi_request_t *request)

Definition at line 47 of file spi.h.

◆ recover

nx_result_t(* nx_spi_ops_t::recover) (void *context)

Definition at line 46 of file spi.h.

◆ service

void(* nx_spi_ops_t::service) (void *context)

Definition at line 48 of file spi.h.

◆ stop

nx_result_t(* nx_spi_ops_t::stop) (void *context)

Definition at line 49 of file spi.h.


The documentation for this struct was generated from the following file:
  • io/include/nexus/io/spi.h