Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/st/sensortile_box_pro/sensors-on-board/src/
Dmain.c242 const struct gpio_dt_spec led3_gpio = GPIO_DT_SPEC_GET(DT_ALIAS(led3), gpios); in led_pattern_out() local
267 if (!gpio_is_ready_dt(&led3_gpio)) { in led_pattern_out()
268 printk("%s: device not ready.\n", led3_gpio.port->name); in led_pattern_out()
271 gpio_pin_configure_dt(&led3_gpio, GPIO_OUTPUT_INACTIVE); in led_pattern_out()
278 gpio_pin_set_dt(&led3_gpio, ((i % 4) == 3) ? 1 : 0); in led_pattern_out()
286 gpio_pin_set_dt(&led3_gpio, 0); in led_pattern_out()