Home
last modified time | relevance | path

Searched refs:emulated_target_config (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/drivers/i2c/i2c_emul/src/
Dtest_fowarding_common.cpp26 zassert_ok(i2c_target_register(targets[i], &emulated_target_config[i])); in i2c_emul_forwarding_setup()
47 zassert_ok(i2c_target_unregister(targets[i], &emulated_target_config[i])); in i2c_emul_forwarding_teardown()
59 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.cpp29 emulated_target_config[0].address)); in ZTEST()
78 emulated_target_config[0].address)); in ZTEST()
112 emulated_target_config[0].address)); in ZTEST()
121 emulated_target_config[0].address)); in ZTEST()
135 emulated_target_config[0].address)); in ZTEST()
144 emulated_target_config[0].address)); in ZTEST()
199 emulated_target_config[0].address)); in ZTEST()
224 emulated_target_config[1].address)); 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()
59 emulated_target_config[0].address)); in ZTEST()
73 zassert_equal(-EINTR, i2c_read(controller, &data, 1, emulated_target_config[0].address)); in ZTEST()
90 zassert_equal(-ENOMEM, i2c_read(controller, &data, 1, emulated_target_config[0].address)); in ZTEST()
138 emulated_target_config[0].address)); in ZTEST()
149 zassert_ok(i2c_read(controller, data, ARRAY_SIZE(data), emulated_target_config[1].address)); in ZTEST()
Demulated_target.cpp51 struct i2c_target_config emulated_target_config[FORWARD_COUNT] = { variable
/Zephyr-latest/tests/drivers/i2c/i2c_emul/include/
Demulated_target.hpp23 extern struct i2c_target_config emulated_target_config[FORWARD_COUNT];