8#ifndef ZEPHYR_INCLUDE_DRIVERS_I2C_STM32_H_
9#define ZEPHYR_INCLUDE_DRIVERS_I2C_STM32_H_
22#ifdef CONFIG_SMBUS_STM32_SMBALERT
23typedef void (*i2c_stm32_smbalert_cb_func_t)(
const struct device *dev);
25void i2c_stm32_smbalert_set_callback(
const struct device *dev, i2c_stm32_smbalert_cb_func_t func,
26 const struct device *cb_dev);
27void i2c_stm32_smbalert_enable(
const struct device *dev);
28void i2c_stm32_smbalert_disable(
const struct device *dev);
i2c_stm32_mode
Definition: stm32.h:13
@ I2CSTM32MODE_SMBUSHOST
Definition: stm32.h:15
@ I2CSTM32MODE_SMBUSDEVICE
Definition: stm32.h:16
@ I2CSTM32MODE_SMBUSDEVICEARP
Definition: stm32.h:17
@ I2CSTM32MODE_I2C
Definition: stm32.h:14
void i2c_stm32_set_smbus_mode(const struct device *dev, enum i2c_stm32_mode mode)
Runtime device structure (in ROM) per driver instance.
Definition: device.h:399