Home
last modified time | relevance | path

Searched refs:i2c_write (Results 1 – 21 of 21) sorted by relevance

/Zephyr-latest/samples/drivers/lcd_cyclonev_socdk/src/
Dmain.c25 ret = i2c_write(i2c, &buf, sizeof(buf), LCD_ADDRESS); in send_ascii()
38 ret = i2c_write(i2c, str_ptr, len, LCD_ADDRESS); in send_string()
53 ret = i2c_write(i2c, (const uint8_t *) &buf, sizeof(buf), LCD_ADDRESS); in send_command_no_param()
68 ret = i2c_write(i2c, (const uint8_t *) &buf, sizeof(buf), LCD_ADDRESS); in send_command_one_param()
/Zephyr-latest/tests/drivers/i2c/i2c_api/src/
Dtest_i2c.c73 if (i2c_write(i2c_dev, datas, 2, GY271_ADDR)) { in test_gy271()
82 if (i2c_write(i2c_dev, datas, 2, GY271_ADDR)) { in test_gy271()
89 if (i2c_write(i2c_dev, datas, 2, GY271_ADDR)) { in test_gy271()
104 if (i2c_write(i2c_dev, datas, 1, GY271_ADDR)) { in test_gy271()
/Zephyr-latest/tests/drivers/i2c/i2c_emul/src/
Dtest_fowarding_common.cpp59 int rc = i2c_write(targets[0], &data, 1, emulated_target_config[0].address + 1); in ZTEST()
75 zassert_equal(-EINTR, i2c_write(controller, &data, 1, emulated_target_config[0].address)); in ZTEST()
Dtest_forwarding_pio.cpp28 zassert_ok(i2c_write(controller, &data, sizeof(data), in ZTEST()
111 zassert_equal(-EINVAL, i2c_write(controller, write_data, sizeof(write_data), in ZTEST()
120 zassert_ok(i2c_write(controller, write_data, sizeof(write_data), in ZTEST()
248 zassert_equal(-EINTR, i2c_write(controller, &data, 1, emulated_target_config[0].address)); in ZTEST()
Dtest_forwarding_buf.cpp34 i2c_write(controller, data, ARRAY_SIZE(data), emulated_target_config[0].address)); in ZTEST()
/Zephyr-latest/drivers/sensor/st/vl53l0x/
Dvl53l0x_platform.c33 status_int = i2c_write(Dev->i2c, I2CBuffer, count+1, Dev->I2cDevAddr); in VL53L0X_WriteMulti()
85 status_int = i2c_write(Dev->i2c, I2CBuffer, 3, Dev->I2cDevAddr); in VL53L0X_WrWord()
106 status_int = i2c_write(Dev->i2c, I2CBuffer, 5, Dev->I2cDevAddr); in VL53L0X_WrDWord()
/Zephyr-latest/drivers/smbus/
Dsmbus_stm32.c144 return i2c_write(config->i2c_dev, NULL, 0, periph_addr); in smbus_stm32_quick()
157 return i2c_write(config->i2c_dev, &command, sizeof(command), periph_addr); in smbus_stm32_byte_write()
176 return i2c_write(config->i2c_dev, buffer, ARRAY_SIZE(buffer), periph_addr); in smbus_stm32_byte_data_write()
197 return i2c_write(config->i2c_dev, buffer, ARRAY_SIZE(buffer), periph_addr); in smbus_stm32_word_data_write()
/Zephyr-latest/drivers/i2c/
DKconfig.it8xxx226 i2c_write(), i2c_read(), i2c_burst_read.
50 including: i2c_write(), i2c_read(), i2c_burst_read.
Di2c_shell.c162 ret = i2c_write(dev, in i2c_write_from_buffer()
/Zephyr-latest/drivers/usb_c/tcpc/
Dtcpci.c237 ret = i2c_write(i2c->bus, buf, 2, i2c->addr); in tcpci_write_reg8()
297 ret = i2c_write(i2c->bus, buf, 3, i2c->addr); in tcpci_write_reg16()
/Zephyr-latest/tests/boards/nrf/i2c/i2c_slave/src/
Dmain.c139 int ret = i2c_write(fixture->dev, msg, TEST_DATA_SIZE, fixture->addr); in ZTEST_USER_F()
/Zephyr-latest/drivers/fpga/
Dfpga_slg471x5.c107 ret = i2c_write(config->bus.bus, buf, img_size + 1, SLG471X5_ADDR_UNCONFIGURED); in fpga_slg471x5_load()
/Zephyr-latest/include/zephyr/drivers/
Di2c.h1272 static inline int i2c_write(const struct device *dev, const uint8_t *buf, in i2c_write() function
1300 return i2c_write(spec->bus, buf, num_bytes, spec->addr); in i2c_write_dt()
1591 return i2c_write(dev, tx_buf, 2, dev_addr); in i2c_reg_write_byte()
/Zephyr-latest/drivers/misc/grove_lcd_rgb/
Dgrove_lcd_rgb.c76 i2c_write(i2c, data, sizeof(data), GROVE_RGB_BACKLIGHT_ADDR); in rgb_reg_set()
/Zephyr-latest/drivers/auxdisplay/
Dauxdisplay_jhd1313.c90 i2c_write(i2c, command, sizeof(command), JHD1313_BACKLIGHT_ADDR); in auxdisplay_jhd1313_reg_set()
/Zephyr-latest/tests/drivers/i2c/i2c_ram/src/
Dtest_i2c_ram.c121 zassert_ok(i2c_write(i2c_dev, tx_data, ARRAY_SIZE(tx_data), RAM_ADDR), in ZTEST()
/Zephyr-latest/drivers/input/
Dinput_gt911.c91 return i2c_write(config->bus.bus, buf, num_bytes, data->actual_address); in gt911_i2c_write()
/Zephyr-latest/drivers/audio/
Dwm8904.c596 ret = i2c_write(dev_cfg->i2c.bus, data, 3, dev_cfg->i2c.addr); in wm8904_write_reg()
/Zephyr-latest/drivers/eeprom/
Deeprom_at2x.c334 err = i2c_write(config->bus.i2c.bus, block, sizeof(block), in eeprom_at24_write()
/Zephyr-latest/doc/releases/
Drelease-notes-2.0.rst1023 * :github:`16519` - USAGE FAULT occurs when i2c_write is called
Drelease-notes-3.1.rst1740 * :github:`43235` - STM32 platform does not handle large i2c_write() correctly