no-OS
Public Attributes | List of all members
no_os_i2c_platform_ops Struct Reference

Structure holding I2C function pointers that point to the platform specific function. More...

#include <no_os_i2c.h>

Public Attributes

int32_t(* i2c_ops_init )(struct no_os_i2c_desc **, const struct no_os_i2c_init_param *)
 
int32_t(* i2c_ops_write )(struct no_os_i2c_desc *, uint8_t *, uint8_t, uint8_t)
 
int32_t(* i2c_ops_read )(struct no_os_i2c_desc *, uint8_t *, uint8_t, uint8_t)
 
int32_t(* i2c_ops_remove )(struct no_os_i2c_desc *)
 

Detailed Description

Structure holding I2C function pointers that point to the platform specific function.

Structure holding i2c function pointers that point to the platform specific function.

Member Data Documentation

◆ i2c_ops_init

int32_t(* no_os_i2c_platform_ops::i2c_ops_init) (struct no_os_i2c_desc **, const struct no_os_i2c_init_param *)

i2c initialization function pointer

◆ i2c_ops_read

int32_t(* no_os_i2c_platform_ops::i2c_ops_read) (struct no_os_i2c_desc *, uint8_t *, uint8_t, uint8_t)

i2c write function pointer

◆ i2c_ops_remove

int32_t(* no_os_i2c_platform_ops::i2c_ops_remove) (struct no_os_i2c_desc *)

i2c remove function pointer

◆ i2c_ops_write

int32_t(* no_os_i2c_platform_ops::i2c_ops_write) (struct no_os_i2c_desc *, uint8_t *, uint8_t, uint8_t)

i2c write function pointer


The documentation for this struct was generated from the following file: