![]() |
Synergy Software Package User's Manual
|
RTOS-integrated I2C Framework Interface. More...
Data Structures | |
| struct | sf_i2c_bus_t |
| struct | sf_i2c_cfg_t |
| struct | sf_i2c_api_t |
| struct | sf_i2c_instance_t |
Macros | |
| #define | SF_I2C_API_VERSION_MAJOR (2U) |
Typedefs | |
| typedef void | sf_i2c_ctrl_t |
Enumerations | |
| enum | sf_i2c_dev_state_t { SF_I2C_DEV_STATE_CLOSED = 0, SF_I2C_DEV_STATE_OPENED } |
RTOS-integrated I2C Framework Interface.
This is a ThreadX-aware I2C interface. It can be implemented by several hardware peripherals at the HAL layer through the I2C interface I2C Interface.
The connection to the HAL layer is established by passing in a driver structure in SF_I2C_Open().
Related SSP architecture topics:
SPI Framework Interface description: I2C Framework
| #define SF_I2C_API_VERSION_MAJOR (2U) |
Includes driver interface.
| typedef void sf_i2c_ctrl_t |
I2C framework control block. Allocate an instance specific control block to pass into the I2C framework API calls.
| enum sf_i2c_dev_state_t |