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

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

#include <i2c.h>

Data Fields

nx_result_t(* transaction )(void *context, nx_i2c_message_t *messages, size_t count, nx_time_us_t deadline, size_t *transferred)
nx_result_t(* submit )(void *context, nx_i2c_request_t *request)
nx_result_t(* start_admitted )(void *context, nx_i2c_request_t *request)
bool(* on_port )(const void *context, const nx_i2c_port_t *port)

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 77 of file i2c.h.

Field Documentation

◆ on_port

bool(* nx_i2c_endpoint_ops_t::on_port) (const void *context, const nx_i2c_port_t *port)

Definition at line 83 of file i2c.h.

◆ start_admitted

nx_result_t(* nx_i2c_endpoint_ops_t::start_admitted) (void *context, nx_i2c_request_t *request)

Definition at line 82 of file i2c.h.

◆ submit

nx_result_t(* nx_i2c_endpoint_ops_t::submit) (void *context, nx_i2c_request_t *request)

Definition at line 81 of file i2c.h.

◆ transaction

nx_result_t(* nx_i2c_endpoint_ops_t::transaction) (void *context, nx_i2c_message_t *messages, size_t count, nx_time_us_t deadline, size_t *transferred)

Definition at line 78 of file i2c.h.


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