Searched refs:button0 (Results 1 – 1 of 1) sorted by relevance
115 static const struct gpio_dt_spec button0 = GPIO_DT_SPEC_GET(BUTTON_0_NODE, gpios); variable125 if (!device_is_ready(button0.port)) { in io_detect_pin()130 rc = gpio_pin_configure_dt(&button0, GPIO_INPUT); in io_detect_pin()133 rc = gpio_pin_get_dt(&button0); in io_detect_pin()150 rc = gpio_pin_get_dt(&button0); in io_detect_pin()