Home
last modified time | relevance | path

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

/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c60 #define TEST_SPI_BUS_0 DT_BUS(TEST_SPI_DEV_0) macro
432 zassert_true(DT_SAME_NODE(TEST_SPI_BUS_0, TEST_SPI), ""); in ZTEST()
734 zassert_true(DT_IRQ_HAS_IDX(TEST_SPI_BUS_0, 0), ""); in ZTEST()
735 zassert_true(DT_IRQ_HAS_IDX(TEST_SPI_BUS_0, 1), ""); in ZTEST()
736 zassert_true(DT_IRQ_HAS_IDX(TEST_SPI_BUS_0, 2), ""); in ZTEST()
737 zassert_false(DT_IRQ_HAS_IDX(TEST_SPI_BUS_0, 3), ""); in ZTEST()
747 zassert_equal(DT_IRQ_BY_IDX(TEST_SPI_BUS_0, 0, irq), 8, ""); in ZTEST()
748 zassert_equal(DT_IRQ_BY_IDX(TEST_SPI_BUS_0, 1, irq), 9, ""); in ZTEST()
749 zassert_equal(DT_IRQ_BY_IDX(TEST_SPI_BUS_0, 2, irq), 10, ""); in ZTEST()
750 zassert_equal(DT_IRQ_BY_IDX(TEST_SPI_BUS_0, 0, priority), 3, ""); in ZTEST()
[all …]