Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/tests/lib/devicetree/api/src/
Dmain.c476 zassert_true(DT_IRQ_HAS_IDX(TEST_SPI_BUS_0, 0), ""); in test_irq()
477 zassert_true(DT_IRQ_HAS_IDX(TEST_SPI_BUS_0, 1), ""); in test_irq()
478 zassert_true(DT_IRQ_HAS_IDX(TEST_SPI_BUS_0, 2), ""); in test_irq()
479 zassert_false(DT_IRQ_HAS_IDX(TEST_SPI_BUS_0, 3), ""); in test_irq()
481 zassert_true(DT_IRQ_HAS_IDX(TEST_DEADBEEF, 0), ""); in test_irq()
482 zassert_false(DT_IRQ_HAS_IDX(TEST_DEADBEEF, 1), ""); 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()
/Zephyr-Core-2.7.6/include/
Ddevicetree.h1414 #define DT_IRQ_HAS_IDX(node_id, idx) \ macro
2585 #define DT_INST_IRQ_HAS_IDX(inst, idx) DT_IRQ_HAS_IDX(DT_DRV_INST(inst), idx)
/Zephyr-Core-2.7.6/doc/reference/devicetree/
Dapi.rst102 :c:func:`DT_IRQ_HAS_IDX` and all macros which require ``DT_DRV_COMPAT``) are