Home
last modified time | relevance | path

Searched refs:i2c_bitbang (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.4.0/drivers/i2c/
Di2c_bitbang.h28 struct i2c_bitbang { struct
42 void i2c_bitbang_init(struct i2c_bitbang *bitbang,
49 int i2c_bitbang_configure(struct i2c_bitbang *bitbang, uint32_t dev_config);
55 int i2c_bitbang_recover_bus(struct i2c_bitbang *bitbang);
61 int i2c_bitbang_transfer(struct i2c_bitbang *bitbang,
Di2c_bitbang.c42 int i2c_bitbang_configure(struct i2c_bitbang *context, uint32_t dev_config) in i2c_bitbang_configure()
66 static void i2c_set_scl(struct i2c_bitbang *context, int state) in i2c_set_scl()
71 static void i2c_set_sda(struct i2c_bitbang *context, int state) in i2c_set_sda()
76 static int i2c_get_sda(struct i2c_bitbang *context) in i2c_get_sda()
90 static void i2c_start(struct i2c_bitbang *context) in i2c_start()
109 static void i2c_repeated_start(struct i2c_bitbang *context) in i2c_repeated_start()
119 static void i2c_stop(struct i2c_bitbang *context) in i2c_stop()
132 static void i2c_write_bit(struct i2c_bitbang *context, int bit) in i2c_write_bit()
142 static bool i2c_read_bit(struct i2c_bitbang *context) in i2c_read_bit()
159 static bool i2c_write_byte(struct i2c_bitbang *context, uint8_t byte) in i2c_write_byte()
[all …]
Di2c_litex.c32 ((struct i2c_bitbang *) dev->data)
87 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_init()
97 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_configure()
105 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_transfer()
123 static struct i2c_bitbang i2c_bitbang_##n; \
Di2c_sbcon.c42 struct i2c_bitbang bitbang; /* Bit-bang library data */
DCMakeLists.txt12 zephyr_library_sources_ifdef(CONFIG_I2C_BITBANG i2c_bitbang.c)
Di2c_gpio.c49 struct i2c_bitbang bitbang; /* Bit-bang library data */
Di2c_ll_stm32.c268 struct i2c_bitbang bitbang_ctx; in i2c_stm32_recover_bus()
Di2c_mcux_lpi2c.c247 struct i2c_bitbang bitbang_ctx; in mcux_lpi2c_recover_bus()