Searched refs:i2c_1 (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/drivers/i2c/i2c_target_api/src/ |
D | main.c | 176 const struct device *const i2c_1 = DEVICE_DT_GET(DT_BUS(NODE_EP1)); in ZTEST() local 189 zassert_not_null(i2c_1, "EEPROM 1 - I2C device not found"); in ZTEST() 192 zassert_true(device_is_ready(i2c_1), "EEPROM 1 - I2C bus not ready"); in ZTEST() 195 i2c_1->name, addr_1); in ZTEST() 233 ret = run_full_read(i2c_1, addr_0, addr_0_width, eeprom_0_data); in ZTEST() 243 zassert_equal(0, run_partial_read(i2c_1, addr_0, in ZTEST() 256 zassert_equal(0, run_program_read(i2c_1, addr_0, in ZTEST()
|
/Zephyr-latest/tests/drivers/i2c/i2c_api/src/ |
D | test_i2c.c | 21 #elif DT_NODE_HAS_STATUS_OKAY(DT_ALIAS(i2c_1)) 22 #define I2C_DEV_NODE DT_ALIAS(i2c_1)
|
/Zephyr-latest/doc/build/dts/ |
D | api-usage.rst | 107 unsigned int i2c_1 = DT_INST(1, vnd_soc_i2c);
|