Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_rpi_pico_pio.c686 static int config_gpio(const struct gpio_dt_spec *gpio, const char *tag, int mode) in config_gpio() function
716 rc = config_gpio(&dev_cfg->clk_gpio, "clk", GPIO_OUTPUT_ACTIVE); in spi_pico_pio_init()
722 rc = config_gpio(&dev_cfg->mosi_gpio, "mosi", GPIO_OUTPUT); in spi_pico_pio_init()
729 rc = config_gpio(&dev_cfg->miso_gpio, "miso", GPIO_INPUT); in spi_pico_pio_init()