zephyr/drivers/i2c
Aurelien Jarno d576b7f3d3 drivers: i2c_ll_stm32_v2: add support for second target address
The Zephyr API supports multiple I2C targets addresses, and the STM32
I2C v2 implementation allows to define up to 2 targets addresses.

This patch adds support for a second I2C target address. It adds a new
config entry in the i2c_stm32_data structure, and uses the fact that
both addresses can be enabled and disabled independently. In the
interrupt, the target being addressed is determined using the address
match code from the interrupt status register.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2022-07-01 11:35:28 +02:00
..
target i2c: Update API terminology 2022-06-29 17:51:31 +02:00
CMakeLists.txt i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_b91.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_bitbang.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
i2c_bitbang.h
i2c_cc13xx_cc26xx.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_cc32xx.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_common.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
i2c_dw_registers.h drivers: i2c: added slave support for DW 2022-02-21 19:42:07 -05:00
i2c_dw.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_dw.h i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_emul.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_esp32.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_gd32.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_gecko.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_gpio.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_handlers.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_imx.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_ite_enhance.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_ite_it8xxx2.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_litex.c drivers: i2c: i2c_litex: Use LiteX HAL 2022-05-27 15:27:11 -07:00
i2c_ll_stm32_v1.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_ll_stm32_v2.c drivers: i2c_ll_stm32_v2: add support for second target address 2022-07-01 11:35:28 +02:00
i2c_ll_stm32.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_ll_stm32.h drivers: i2c_ll_stm32_v2: add support for second target address 2022-07-01 11:35:28 +02:00
i2c_lpc11u6x.c drivers: i2c: lpc11u6x: Remove DT_LABEL usage 2022-06-30 10:32:33 +02:00
i2c_lpc11u6x.h drivers: i2c: lpc11u6x: Remove DT_LABEL usage 2022-06-30 10:32:33 +02:00
i2c_mchp_xec_v2.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_mchp_xec.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_mcux_flexcomm.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_mcux_lpi2c.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_mcux.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_nios2.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_npcx_controller.c driver: i2c: npcx: prevent sleep during I2C transactions 2022-06-05 14:47:58 +02:00
i2c_npcx_controller.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
i2c_npcx_port.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_nrfx_twi.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
i2c_nrfx_twim.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
i2c_rcar.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_rv32m1_lpi2c.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_sam0.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_sam4l_twim.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_sam_twi.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_sam_twihs.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_sbcon.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
i2c_shell.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
i2c_sifive.c i2c: Update API terminology 2022-06-29 17:51:31 +02:00
i2c_tca954x.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
i2c_test.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
i2c-priv.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
Kconfig i2c: Update API terminology 2022-06-29 17:51:31 +02:00
Kconfig.b91
Kconfig.cc13xx_cc26xx
Kconfig.dw
Kconfig.esp32 driver: esp32: I2C code refactoring 2021-11-05 14:07:09 -04:00
Kconfig.gd32 drivers: i2c: introduce GD32 I2C driver 2022-01-14 10:42:24 -06:00
Kconfig.gpio
Kconfig.i2c_emul
Kconfig.it8xxx2 ITE: drivers/i2c: I2C driver divided into two compatibles 2022-03-17 15:53:34 -05:00
Kconfig.litex
Kconfig.lpc11u6x
Kconfig.npcx
Kconfig.nrfx soc: nrf: Use data from DTS to populate HAS_HW_NRF_* Kconfig options 2022-04-02 15:14:38 +02:00
Kconfig.rcar everywhere: fix typos 2022-03-14 20:22:24 -04:00
Kconfig.sam0 kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.sbcon
Kconfig.sifive
Kconfig.stm32 i2c: Update API terminology 2022-06-29 17:51:31 +02:00
Kconfig.tca954x driver: i2c: TCA9546A: Rename to TCA954x 2021-12-13 18:07:08 +01:00
Kconfig.test
Kconfig.xec