Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_rpi_pico_pio.c47 size_t pio_sm; member
195 return ((data->pio->sm[data->pio_sm].addr == data->pio_tx_offset) && in spi_pico_pio_sm_complete()
196 pio_sm_is_tx_fifo_empty(data->pio, data->pio_sm)); in spi_pico_pio_sm_complete()
297 rc = pio_rpi_pico_allocate_sm(dev_cfg->piodev, &data->pio_sm); in spi_pico_pio_configure()
335 pio_sm_set_pindirs_with_mask(data->pio, data->pio_sm, in spi_pico_pio_configure()
338 pio_sm_set_pins_with_mask(data->pio, data->pio_sm, 0, in spi_pico_pio_configure()
343 pio_sm_init(data->pio, data->pio_sm, data->pio_tx_offset, &sm_config); in spi_pico_pio_configure()
344 pio_sm_set_enabled(data->pio, data->pio_sm, true); in spi_pico_pio_configure()
401 pio_sm_set_consecutive_pindirs(data->pio, data->pio_sm, miso->pin, 1, false); in spi_pico_pio_configure()
402 pio_sm_set_pindirs_with_mask(data->pio, data->pio_sm, in spi_pico_pio_configure()
[all …]