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

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

#include <i2c.h>

Data Fields

nx_result_t(* recover )(void *context)
nx_result_t(* cancel )(void *context, nx_i2c_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 52 of file i2c.h.

Field Documentation

◆ attach_wake

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

Definition at line 57 of file i2c.h.

◆ cancel

nx_result_t(* nx_i2c_ops_t::cancel) (void *context, nx_i2c_request_t *request)

Definition at line 54 of file i2c.h.

◆ recover

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

Definition at line 53 of file i2c.h.

◆ service

void(* nx_i2c_ops_t::service) (void *context)

Definition at line 55 of file i2c.h.

◆ stop

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

Definition at line 56 of file i2c.h.


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