Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/tests/lib/devicetree/api/src/
Dmain.c55 #define TEST_I2C_BUS DT_BUS(TEST_I2C_DEV) macro
308 zassert_true(!strcmp(DT_LABEL(TEST_I2C_BUS), "TEST_I2C_CTLR"), ""); in test_bus()
472 zassert_equal(DT_NUM_IRQS(TEST_I2C_BUS), 2, ""); in test_irq()
484 zassert_true(DT_IRQ_HAS_IDX(TEST_I2C_BUS, 0), ""); in test_irq()
485 zassert_true(DT_IRQ_HAS_IDX(TEST_I2C_BUS, 1), ""); in test_irq()
486 zassert_false(DT_IRQ_HAS_IDX(TEST_I2C_BUS, 2), ""); in test_irq()
497 zassert_equal(DT_IRQ_BY_NAME(TEST_I2C_BUS, status, irq), 6, ""); in test_irq()
498 zassert_equal(DT_IRQ_BY_NAME(TEST_I2C_BUS, error, irq), 7, ""); in test_irq()
499 zassert_equal(DT_IRQ_BY_NAME(TEST_I2C_BUS, status, priority), 2, ""); in test_irq()
500 zassert_equal(DT_IRQ_BY_NAME(TEST_I2C_BUS, error, priority), 1, ""); in test_irq()
[all …]