Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/stepper/adi_tmc/
Dadi_tmc22xx_stepper_controller.c16 const struct gpio_dt_spec enable_pin; member
34 return gpio_pin_set_dt(&config->enable_pin, 1); in tmc22xx_stepper_enable()
36 return gpio_pin_set_dt(&config->enable_pin, 0); in tmc22xx_stepper_enable()
112 if (!gpio_is_ready_dt(&config->enable_pin)) { in tmc22xx_stepper_init()
117 ret = gpio_pin_configure_dt(&config->enable_pin, GPIO_OUTPUT); in tmc22xx_stepper_init()
174 .enable_pin = GPIO_DT_SPEC_INST_GET(inst, en_gpios), \
/Zephyr-latest/drivers/sensor/nordic/qdec_nrfx/
Dqdec_nrfx.c41 uint32_t enable_pin; member
180 if (config->enable_pin != NRF_QDEC_PIN_NOT_CONNECTED) { in qdec_nrfx_gpio_ctrl()
184 nrf_gpio_pin_write(config->enable_pin, val); in qdec_nrfx_gpio_ctrl()
185 nrf_gpio_cfg_output(config->enable_pin); in qdec_nrfx_gpio_ctrl()
284 .enable_pin = DT_PROP_OR(QDEC(idx), enable_pin, NRF_QDEC_PIN_NOT_CONNECTED), \