Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/input/gpio_kbd_matrix/src/
Dmain.c15 #define POLL_NODE DT_NODELABEL(kbd_matrix_poll) macro
19 static const struct device *dev_poll = DEVICE_DT_GET_OR_NULL(POLL_NODE);
27 #define POLL_R0_PIN DT_GPIO_PIN_BY_IDX(POLL_NODE, row_gpios, 0)
28 #define POLL_R1_PIN DT_GPIO_PIN_BY_IDX(POLL_NODE, row_gpios, 1)
29 #define POLL_C0_PIN DT_GPIO_PIN_BY_IDX(POLL_NODE, col_gpios, 0)
30 #define POLL_C1_PIN DT_GPIO_PIN_BY_IDX(POLL_NODE, col_gpios, 1)
50 BUILD_ASSERT(DT_PROP_LEN(POLL_NODE, col_gpios) == COL_COUNT);