Home
last modified time | relevance | path

Searched refs:i2c_cfg (Results 1 – 10 of 10) sorted by relevance

/Zephyr-Core-3.5.0/tests/drivers/i2c/i2c_api/src/
Dtest_i2c.c29 uint32_t i2c_cfg = I2C_SPEED_SET(I2C_SPEED_STANDARD) | I2C_MODE_CONTROLLER; variable
43 if (i2c_configure(i2c_dev, i2c_cfg)) { in test_gy271()
53 if (i2c_cfg != i2c_cfg_tmp) { in test_gy271()
109 if (i2c_configure(i2c_dev, i2c_cfg)) { in test_burst_gy271()
119 if (i2c_cfg != i2c_cfg_tmp) { in test_burst_gy271()
/Zephyr-Core-3.5.0/tests/boards/mec15xxevb_assy6853/i2c_api/src/
Dmain.c29 uint32_t i2c_cfg = I2C_SPEED_SET(I2C_SPEED_STANDARD) | I2C_MODE_CONTROLLER; in ZTEST() local
37 ret = i2c_configure(i2c.bus, i2c_cfg); in ZTEST()
/Zephyr-Core-3.5.0/tests/boards/mec172xevb_assy6906/i2c_api/src/
Dmain.c29 uint32_t i2c_cfg = I2C_SPEED_SET(I2C_SPEED_STANDARD) | I2C_MODE_CONTROLLER; in ZTEST() local
37 ret = i2c_configure(i2c.bus, i2c_cfg); in ZTEST()
/Zephyr-Core-3.5.0/drivers/eeprom/
Deeprom_at2x_emul.c62 uint32_t i2c_cfg; in at24_emul_transfer() local
73 if (i2c_get_config(data->i2c, &i2c_cfg)) { in at24_emul_transfer()
78 too_fast = (I2C_SPEED_GET(i2c_cfg) > I2C_SPEED_STANDARD); in at24_emul_transfer()
/Zephyr-Core-3.5.0/tests/boards/altera_max10/i2c_master/src/
Di2c_master.c69 uint32_t i2c_cfg = I2C_SPEED_SET(I2C_SPEED_STANDARD) | I2C_MODE_CONTROLLER; in test_i2c_adv7513() local
78 if (i2c_configure(i2c_dev, i2c_cfg)) { in test_i2c_adv7513()
/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_mcux_flexcomm.c257 i2c_slave_config_t i2c_cfg; in mcux_flexcomm_target_register() local
280 I2C_SlaveGetDefaultConfig(&i2c_cfg); in mcux_flexcomm_target_register()
281 i2c_cfg.address0.address = target_config->address; in mcux_flexcomm_target_register()
283 I2C_SlaveInit(base, &i2c_cfg, clock_freq); in mcux_flexcomm_target_register()
/Zephyr-Core-3.5.0/drivers/sensor/hp206c/
Dhp206c.c27 uint32_t i2c_cfg; in hp206c_bus_config() local
29 i2c_cfg = I2C_MODE_CONTROLLER | I2C_SPEED_SET(I2C_SPEED_STANDARD); in hp206c_bus_config()
31 return i2c_configure(cfg->i2c.bus, i2c_cfg); in hp206c_bus_config()
/Zephyr-Core-3.5.0/drivers/sensor/bmg160/
Dbmg160.c26 uint32_t i2c_cfg; in bmg160_bus_config() local
28 i2c_cfg = I2C_MODE_CONTROLLER | I2C_SPEED_SET(BMG160_BUS_SPEED); in bmg160_bus_config()
30 return i2c_configure(dev_cfg->i2c.bus, i2c_cfg); in bmg160_bus_config()
/Zephyr-Core-3.5.0/drivers/crypto/
Dcrypto_ataes132a.c165 uint32_t i2c_cfg; in ataes132a_init() local
174 i2c_cfg = I2C_MODE_CONTROLLER | I2C_SPEED_SET(ATAES132A_BUS_SPEED); in ataes132a_init()
176 i2c_configure(cfg->i2c.bus, i2c_cfg); in ataes132a_init()
/Zephyr-Core-3.5.0/drivers/video/
Dov2640.c1053 uint32_t i2c_cfg = I2C_MODE_CONTROLLER | in ov2640_init_0() local
1056 if (i2c_configure(cfg->i2c.bus, i2c_cfg)) { in ov2640_init_0()