Searched refs:ZEPHYR_USER_NODE (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/samples/drivers/dac/src/ |
D | main.c | 11 #define ZEPHYR_USER_NODE DT_PATH(zephyr_user) macro 13 #if (DT_NODE_HAS_PROP(ZEPHYR_USER_NODE, dac) && \ 14 DT_NODE_HAS_PROP(ZEPHYR_USER_NODE, dac_channel_id) && \ 15 DT_NODE_HAS_PROP(ZEPHYR_USER_NODE, dac_resolution)) 16 #define DAC_NODE DT_PHANDLE(ZEPHYR_USER_NODE, dac) 17 #define DAC_CHANNEL_ID DT_PROP(ZEPHYR_USER_NODE, dac_channel_id) 18 #define DAC_RESOLUTION DT_PROP(ZEPHYR_USER_NODE, dac_resolution)
|
/Zephyr-latest/doc/build/dts/ |
D | zephyr-user-node.rst | 42 #define ZEPHYR_USER_NODE DT_PATH(zephyr_user) 44 DT_PROP(ZEPHYR_USER_NODE, boolean) // 1 45 DT_PROP(ZEPHYR_USER_NODE, bytes) // {0x81, 0x82, 0x83} 46 DT_PROP(ZEPHYR_USER_NODE, number) // 23 47 DT_PROP(ZEPHYR_USER_NODE, numbers) // {1, 2, 3} 48 DT_PROP(ZEPHYR_USER_NODE, string) // "text" 49 DT_PROP(ZEPHYR_USER_NODE, strings) // {"a", "b", "c"} 80 DEVICE_DT_GET(DT_PROP(ZEPHYR_USER_NODE, handle)); 94 DT_FOREACH_PROP_ELEM(ZEPHYR_USER_NODE, handles, PHANDLE_TO_DEVICE) 122 #define ZEPHYR_USER_NODE DT_PATH(zephyr_user) [all …]
|
/Zephyr-latest/tests/drivers/gpio/gpio_hogs/src/ |
D | main.c | 10 #define ZEPHYR_USER_NODE DT_PATH(zephyr_user) macro 13 GPIO_DT_SPEC_GET_OR(ZEPHYR_USER_NODE, output_high_gpios, {0}); 15 GPIO_DT_SPEC_GET_OR(ZEPHYR_USER_NODE, output_low_gpios, {0}); 17 GPIO_DT_SPEC_GET_OR(ZEPHYR_USER_NODE, input_gpios, {0});
|