Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/bbc/microbit/line_follower_robot/src/
Dmain.c18 static const struct gpio_dt_spec left_gpio = variable
35 left_line = gpio_pin_get_dt(&left_gpio); in left_irq()
100 if (!gpio_is_ready_dt(&left_gpio) || in main()
112 gpio_pin_configure_dt(&left_gpio, GPIO_INPUT); in main()
115 gpio_pin_interrupt_configure_dt(&left_gpio, GPIO_INT_EDGE_BOTH); in main()
118 gpio_init_callback(&left_cb, left_irq, BIT(left_gpio.pin)); in main()
119 gpio_add_callback(left_gpio.port, &left_cb); in main()