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

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

#include <i2c.h>

Public Attributes

int32_t(* i2c_ops_init )(struct i2c_desc **, const struct i2c_init_param *)
 
int32_t(* i2c_ops_write )(struct i2c_desc *, uint8_t *, uint8_t, uint8_t)
 
int32_t(* i2c_ops_read )(struct i2c_desc *, uint8_t *, uint8_t, uint8_t)
 
int32_t(* i2c_ops_remove )(struct 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(* i2c_platform_ops::i2c_ops_init) (struct i2c_desc **, const struct i2c_init_param *)

i2c initialization function pointer

◆ i2c_ops_read

int32_t(* i2c_platform_ops::i2c_ops_read) (struct i2c_desc *, uint8_t *, uint8_t, uint8_t)

i2c write function pointer

◆ i2c_ops_remove

int32_t(* i2c_platform_ops::i2c_ops_remove) (struct i2c_desc *)

i2c remove function pointer

◆ i2c_ops_write

int32_t(* i2c_platform_ops::i2c_ops_write) (struct i2c_desc *, uint8_t *, uint8_t, uint8_t)

i2c write function pointer


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