Searched refs:right_gpio (Results 1 – 1 of 1) sorted by relevance
20 static const struct gpio_dt_spec right_gpio = variable41 right_line = gpio_pin_get_dt(&right_gpio); in right_irq()101 !gpio_is_ready_dt(&right_gpio)) { in main()113 gpio_pin_configure_dt(&right_gpio, GPIO_INPUT); in main()116 gpio_pin_interrupt_configure_dt(&right_gpio, GPIO_INT_EDGE_BOTH); in main()120 gpio_init_callback(&right_cb, right_irq, BIT(right_gpio.pin)); in main()121 gpio_add_callback(right_gpio.port, &right_cb); in main()