OpenBIC
OpenSource Bridge-IC
i2c_target_data Struct Reference

#include <hal_i2c_target.h>

Public Attributes

uint8_t i2c_bus
 
const struct device * i2c_controller
 
struct i2c_slave_config config
 
uint16_t wr_buffer_idx
 
struct i2c_msg_package target_wr_msg
 
struct k_msgq target_wr_msgq_id
 
uint16_t max_msg_count
 
bool skip_msg_wr
 
void(* post_wr_rcv_func )(void *)
 
uint32_t rd_buffer_idx
 
struct i2c_msg_package target_rd_msg
 
bool(* rd_data_collect_func )(void *)
 

Member Data Documentation

◆ config

struct i2c_slave_config i2c_target_data::config

◆ i2c_bus

uint8_t i2c_target_data::i2c_bus

◆ i2c_controller

const struct device* i2c_target_data::i2c_controller

◆ max_msg_count

uint16_t i2c_target_data::max_msg_count

◆ post_wr_rcv_func

void(* i2c_target_data::post_wr_rcv_func) (void *)

◆ rd_buffer_idx

uint32_t i2c_target_data::rd_buffer_idx

◆ rd_data_collect_func

bool(* i2c_target_data::rd_data_collect_func) (void *)

◆ skip_msg_wr

bool i2c_target_data::skip_msg_wr

◆ target_rd_msg

struct i2c_msg_package i2c_target_data::target_rd_msg

◆ target_wr_msg

struct i2c_msg_package i2c_target_data::target_wr_msg

◆ target_wr_msgq_id

struct k_msgq i2c_target_data::target_wr_msgq_id

◆ wr_buffer_idx

uint16_t i2c_target_data::wr_buffer_idx

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