Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/stepper/step_dir/
Dstep_dir_stepper_common.h31 const struct gpio_dt_spec dir_pin; member
47 .dir_pin = GPIO_DT_SPEC_GET(node_id, dir_gpios), \
Dstep_dir_stepper_common.c19 ret = gpio_pin_set_dt(&config->dir_pin, 1); in step_dir_stepper_perform_step()
22 ret = gpio_pin_set_dt(&config->dir_pin, 0); in step_dir_stepper_perform_step()
190 if (!gpio_is_ready_dt(&config->step_pin) || !gpio_is_ready_dt(&config->dir_pin)) { in step_dir_stepper_common_init()
201 ret = gpio_pin_configure_dt(&config->dir_pin, GPIO_OUTPUT); in step_dir_stepper_common_init()