Searched refs:TEST_I2C_BUS (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/lib/devicetree/api/src/ |
D | main.c | 37 #define TEST_I2C_BUS DT_BUS(TEST_I2C_DEV) macro 431 zassert_true(DT_SAME_NODE(TEST_I2C_BUS, TEST_I2C), ""); in ZTEST() 730 zassert_equal(DT_NUM_IRQS(TEST_I2C_BUS), 2, ""); in ZTEST() 742 zassert_true(DT_IRQ_HAS_IDX(TEST_I2C_BUS, 0), ""); in ZTEST() 743 zassert_true(DT_IRQ_HAS_IDX(TEST_I2C_BUS, 1), ""); in ZTEST() 744 zassert_false(DT_IRQ_HAS_IDX(TEST_I2C_BUS, 2), ""); in ZTEST() 755 zassert_equal(DT_IRQ_BY_NAME(TEST_I2C_BUS, status, irq), 6, ""); in ZTEST() 756 zassert_equal(DT_IRQ_BY_NAME(TEST_I2C_BUS, error, irq), 7, ""); in ZTEST() 757 zassert_equal(DT_IRQ_BY_NAME(TEST_I2C_BUS, status, priority), 2, ""); in ZTEST() 758 zassert_equal(DT_IRQ_BY_NAME(TEST_I2C_BUS, error, priority), 1, ""); in ZTEST() [all …]
|