Home
last modified time | relevance | path

Searched defs:i2c_ctrl_data (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/i2c/
Di2c_npcx_controller.c151 struct i2c_ctrl_data { struct
152 struct k_sem lock_sem; /* mutex of i2c controller */
153 struct k_sem sync_sem; /* semaphore used for synchronization */
154 uint32_t bus_freq; /* operation freq of i2c */
155 enum npcx_i2c_oper_state oper_state; /* controller operation state */
156 int trans_err; /* error code during transaction */
157 struct i2c_msg *msg; /* cache msg for transaction state machine */
158 int is_write; /* direction of current msg */
159 uint8_t *ptr_msg; /* current msg pointer for FIFO read/write */
160 uint16_t addr; /* slave address of transaction */
[all …]