![]() |
Synergy Software Package User's Manual
|
#include <sf_i2c_api.h>
Data Fields | |
| uint8_t | channel |
| Channel. | |
| TX_MUTEX * | p_lock_mutex |
| Lock mutex handle for this channel. | |
| TX_MUTEX | device_count_mutex |
| Device count mutex handle for this device. | |
| TX_EVENT_FLAGS_GROUP * | p_sync_eventflag |
| Pointer to the event flag object for I2C data transfer. | |
| sf_i2c_ctrl_t ** | pp_curr_ctrl |
| Current device using the bus (by switching the address) | |
| uint8_t * | p_bus_name |
| User-supplied name to identify the bus. Useful for debugging. | |
| i2c_api_master_t const * | p_lower_lvl_api |
| Pointer to I2C HAL interface to be used in the framework. | |
| uint8_t | device_count |
| Number of devices on the bus; initialize to 0. | |
| sf_i2c_ctrl_t ** | pp_curr_bus_ctrl |
| Device configured on the bus (low level configuration) | |
Data structure defining a I2C bus.