Home
last modified time | relevance | path

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

/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c2225 zassert_true(DT_INST_ENUM_HAS_VALUE_BY_IDX(0, val, 0, foo), ""); in ZTEST()
2226 zassert_false(DT_INST_ENUM_HAS_VALUE_BY_IDX(0, val, 0, zoo), ""); in ZTEST()
2227 zassert_true(DT_INST_ENUM_HAS_VALUE_BY_IDX(0, val, 1, zoo), ""); in ZTEST()
2228 zassert_false(DT_INST_ENUM_HAS_VALUE_BY_IDX(0, val, 2, baz), ""); in ZTEST()
/Zephyr-latest/include/zephyr/
Ddevicetree.h4127 #define DT_INST_ENUM_HAS_VALUE_BY_IDX(inst, prop, idx, value) \ macro