Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/testsuite/busy_sim/
Dbusy_sim.c32 struct gpio_dt_spec pin_spec; member
49 .pin_spec = GPIO_DT_SPEC_GET_OR(DT_BUSY_SIM, active_gpios, {0}),
112 if (config->pin_spec.port) { in counter_alarm_callback()
113 err = gpio_pin_set_dt(&config->pin_spec, 1); in counter_alarm_callback()
124 if (config->pin_spec.port) { in counter_alarm_callback()
125 err = gpio_pin_set_dt(&config->pin_spec, 0); in counter_alarm_callback()
182 if ((config->pin_spec.port && !gpio_is_ready_dt(&config->pin_spec)) || in busy_sim_init()
189 if (config->pin_spec.port) { in busy_sim_init()
190 gpio_pin_configure_dt(&config->pin_spec, GPIO_OUTPUT | GPIO_OUTPUT_INIT_LOW); in busy_sim_init()