Searched refs:i2c_0 (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/samples/boards/st/i2c_timing/src/ |
D | main.c | 13 #if DT_NODE_HAS_STATUS_OKAY(DT_ALIAS(i2c_0)) 14 #define I2C_DEV_NODE DT_ALIAS(i2c_0)
|
/Zephyr-latest/tests/drivers/i2c/i2c_target_api/src/ |
D | main.c | 172 const struct device *const i2c_0 = DEVICE_DT_GET(DT_BUS(NODE_EP0)); in ZTEST() local 181 zassert_not_null(i2c_0, "EEPROM 0 - I2C bus not found"); in ZTEST() 184 zassert_true(device_is_ready(i2c_0), "EEPROM 0 - I2C bus not ready"); in ZTEST() 187 i2c_0->name, addr_0); in ZTEST() 237 ret = run_full_read(i2c_0, addr_1, addr_1_width, eeprom_1_data); in ZTEST() 247 zassert_equal(0, run_partial_read(i2c_0, addr_1, in ZTEST() 260 zassert_equal(0, run_program_read(i2c_0, addr_1, in ZTEST()
|
/Zephyr-latest/tests/drivers/i2c/i2c_api/src/ |
D | test_i2c.c | 19 #if DT_NODE_HAS_STATUS_OKAY(DT_ALIAS(i2c_0)) 20 #define I2C_DEV_NODE DT_ALIAS(i2c_0)
|
/Zephyr-latest/doc/build/dts/ |
D | api-usage.rst | 106 void *i2c_0 = DT_INST(0, vnd_soc_i2c);
|