Home
last modified time | relevance | path

Searched full:sda (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/Zephyr-latest/dts/bindings/i2c/
Dgpio-i2c.yaml15 sda-gpios:
18 description: GPIO to which the SDA pin of the I2C bus is connected.
Dinfineon,xmc4xxx-i2c.yaml22 sda-src = "DX0A";
75 sda-src:
102 PORT pin configuration for SCL, SDA signals.
128 For example, for the SDA line on USIC2 channel 0, P3.8 may be used
134 An example for SCL and SDA signals on the xmc4700:
159 &i2c_sda_dx0_p6_5_u2c0 { /* will require USIC setting sda-src = DX0D */
Dnxp,lpi2c.yaml24 sda-gpios:
27 GPIO to which the I2C SDA signal is routed. This is only needed for I2C bus recovery
Dite,common-i2c.yaml64 sda-gpios = <&gpiof 7 0>;
74 sda-gpios = <&gpiob 4 0>;
87 sda-gpios:
91 The SDA pin for the selected port.
Dambiq,i2c.yaml26 sda-gpios:
29 GPIO to which the I2C SDA signal is routed. This is only needed for I2C bus recovery
Dst,stm32-i2c-v1.yaml29 sda-gpios:
32 GPIO to which the I2C SDA signal is routed. This is only needed for
Dmicrochip,xec-i2c.yaml40 sda-gpios:
44 The SDA pin for the selected port. Pin choice for port is
Dst,stm32-i2c-v2.yaml53 sda-gpios:
56 GPIO to which the I2C SDA signal is routed. This is only needed for
Despressif,esp32-i2c.yaml28 sda-gpios:
31 GPIO to which the I2C SDA signal is routed. This is only required
/Zephyr-latest/samples/sensor/sht3xd/boards/
Dnucleo_l476rg.overlay7 &i2c1 { /* SDA CN5.9=PB9, SCL CN5.10=PB8, ALERT CN5.1=D8=PA9 */
8 /* &i2c3 { * SDA CN7.36=PC1, SCL CN7.38=PC0, ALERT CN7.34=PB0 */
/Zephyr-latest/drivers/i2c/
Di2c_esp32.c34 #define I2C_CLR_BUS_SCL_NUM 9 /* Number of SCL clocks to restore SDA signal */
35 #define I2C_CLR_BUS_HALF_PERIOD_US 5 /* Period of SCL clock to restore SDA signal */
81 const struct i2c_esp32_pin sda; member
159 gpio_pin_set_dt(&config->sda.gpio, 1); in i2c_esp32_config_pin()
160 ret = gpio_pin_configure_dt(&config->sda.gpio, GPIO_PULL_UP | GPIO_OUTPUT | GPIO_INPUT); in i2c_esp32_config_pin()
161 esp_rom_gpio_matrix_out(config->sda.gpio.pin, config->sda.sig_out, 0, 0); in i2c_esp32_config_pin()
162 esp_rom_gpio_matrix_in(config->sda.gpio.pin, config->sda.sig_in, 0); in i2c_esp32_config_pin()
173 /* Some slave device will die by accident and keep the SDA in low level,
175 * Slave mode of ESP32 might also get in wrong state that held the SDA low,
188 gpio_pin_configure_dt(&config->sda.gpio, GPIO_OUTPUT | GPIO_INPUT); in i2c_master_clear_bus()
[all …]
Di2c_sbcon.c36 /* Bits values for SCL and SDA lines in struct sbcon registers */
38 #define SDA BIT(1) macro
67 sbcon->SB_CONTROLS = SDA; in i2c_sbcon_set_sda()
69 sbcon->SB_CONTROLC = SDA; in i2c_sbcon_set_sda()
77 return sbcon->SB_CONTROL & SDA; in i2c_sbcon_get_sda()
Di2c_gpio.c18 * suitable flags, i.e. the SDA pin as open-collector/open-drain with a pull-up
21 * When the SDA pin is read it must return the state of the physical hardware
24 * The SCL pin should be configured in the same manner as SDA, or, if it is
172 LOG_ERR("SDA GPIO device not ready"); in i2c_gpio_init()
183 LOG_ERR("failed to configure SDA GPIO pin (err %d)", err); in i2c_gpio_init()
Di2c_bitbang.c12 * manipulating the levels of the SCL and SDA lines of an I2C bus. It supports
107 * SDA is already low, so we need to do something to make it in i2c_start()
108 * high. Try pulsing clock low to get slave to release SDA. in i2c_start()
147 /* SDA hold time is zero, so no need for a delay here */ in i2c_write_bit()
159 /* SDA hold time is zero, so no need for a delay here */ in i2c_read_bit()
291 * with SDA held high/floating, a REPEATED START condition, in i2c_bitbang_recover_bus()
300 /* 9 cycles of SCL with SDA held high */ in i2c_bitbang_recover_bus()
Di2c_ambiq.c38 struct gpio_dt_spec sda; member
265 gpio_pin_set_dt(&config->sda, state); in i2c_ambiq_bitbang_set_sda()
272 return gpio_pin_get_dt(&config->sda) == 0 ? 0 : 1; in i2c_ambiq_bitbang_get_sda()
295 if (!gpio_is_ready_dt(&config->sda)) { in i2c_ambiq_recover_bus()
296 LOG_ERR("SDA GPIO device not ready"); in i2c_ambiq_recover_bus()
308 error = gpio_pin_configure_dt(&config->sda, GPIO_OUTPUT_HIGH); in i2c_ambiq_recover_bus()
310 LOG_ERR("failed to configure SDA GPIO (err %d)", error); in i2c_ambiq_recover_bus()
453 .sda = GPIO_DT_SPEC_INST_GET_OR(n, sda_gpios, {0}),)) }; \
/Zephyr-latest/tests/drivers/i2c/i2c_target_api/boards/
Dfrdm_ke17z512.overlay9 * LPI2C0 SDA(J2-18) --> LPI2C1 SDA(J2-12)
Dfrdm_mcxa156.overlay9 * LPI2C0 SDA(J2-18) --> LPI2C3 SDA(J5-6)
Dxmc47_relax_kit.overlay10 * P3.8, P3.7, P1.9, P3.15 must all be connected (sda related pins)
28 sda-src = "DX0C";
43 sda-src = "DX0A";
Dfrdm_mcxn947_mcxn947_cpu0.overlay31 * LPI2C1 SDA(J2-8, P1_24/FC1_P0) --> LPI2C2 SDA(J2-18, P4_0/FC2_P0)
Dfrdm_mcxn947_mcxn947_cpu0_qspi.overlay31 * LPI2C1 SDA(J2-8, P1_24/FC1_P0) --> LPI2C2 SDA(J2-18, P4_0/FC2_P0)
Dfrdm_mcxn236.overlay31 * LPI2C3 SDA(J2-8, P1_0/FC1_P0) --> LPI2C5 SDA(J2-18, P1_16/FC2_P0)
/Zephyr-latest/dts/bindings/gpio/
Dmikro-bus.yaml16 (PWM - SDA). The bottom 2 pins on each side are used for input voltage
24 SPI Master Output Slave Input - MOSI SDA - I2C Data
Datmel-xplained-header.yaml17 Px0 SDA
37 0 I2C(SDA) 1 2 I2C(SCL) 1
/Zephyr-latest/dts/bindings/mfd/
Dnordic,npm6001.yaml22 nordic,sda-high-drive:
24 description: Set drive strength to high for SDA pin.
/Zephyr-latest/samples/drivers/misc/grove_display/
DREADME.rst29 SCL/SDA lines and 3.3V.
31 Take note that even though SDA and SCL are connected to a 3.3V power source, the

12345678910>>...14