Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
i2c_platform_ops Struct Reference
Structure holding I2C function pointers that point to the platform specific function. More...
#include <i2c.h>
Data Fields | |
| int32_t(* | i2c_ops_init )(struct i2c_desc **, const struct i2c_init_param *) |
| i2c initialization function pointer | |
| int32_t(* | i2c_ops_write )(struct i2c_desc *, uint8_t *, uint8_t, uint8_t) |
| i2c write function pointer | |
| int32_t(* | i2c_ops_read )(struct i2c_desc *, uint8_t *, uint8_t, uint8_t) |
| i2c write function pointer | |
| int32_t(* | i2c_ops_remove )(struct i2c_desc *) |
| i2c remove function pointer | |
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.
Definition at line 95 of file i2c.h.
Field Documentation
| int32_t(* i2c_ops_init)(struct i2c_desc **, const struct i2c_init_param *) |
| int32_t(* i2c_ops_read)(struct i2c_desc *, uint8_t *, uint8_t, uint8_t) |
| int32_t(* i2c_ops_remove)(struct i2c_desc *) |
| int32_t(* i2c_ops_write)(struct i2c_desc *, uint8_t *, uint8_t, uint8_t) |
Generated on Wed Jul 20 2022 16:03:28 by
1.7.2