/Zephyr-latest/soc/atmel/sam/common/ |
D | soc_gpio.c | 24 static void configure_common_attr(Pio *pio, uint32_t mask, uint32_t flags) in configure_common_attr() argument 27 pio->PIO_IDR = mask; in configure_common_attr() 31 pio->PIO_PUER = mask; in configure_common_attr() 33 pio->PIO_PUDR = mask; in configure_common_attr() 40 pio->PIO_PPDER = mask; in configure_common_attr() 42 pio->PIO_PPDDR = mask; in configure_common_attr() 48 pio->PIO_MDER = mask; in configure_common_attr() 50 pio->PIO_MDDR = mask; in configure_common_attr() 54 static void configure_input_attr(Pio *pio, uint32_t mask, uint32_t flags) in configure_input_attr() argument 61 pio->PIO_IFSCER = mask; in configure_input_attr() [all …]
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_sam.c | 45 Pio * const pio = cfg->regs; in gpio_sam_port_configure() local 50 pio->PIO_MDER = mask; in gpio_sam_port_configure() 57 pio->PIO_MDDR = mask; in gpio_sam_port_configure() 64 pio->PIO_IDR = mask; in gpio_sam_port_configure() 66 pio->PIO_PUDR = mask; in gpio_sam_port_configure() 72 pio->PIO_PPDDR = mask; in gpio_sam_port_configure() 75 pio->PIO_PER = mask; in gpio_sam_port_configure() 77 pio->PIO_ODR = mask; in gpio_sam_port_configure() 86 pio->PIO_SODR = mask; in gpio_sam_port_configure() 90 pio->PIO_CODR = mask; in gpio_sam_port_configure() [all …]
|
/Zephyr-latest/drivers/spi/ |
D | spi_rpi_pico_pio.c | 46 PIO pio; member 145 static inline void spi_pico_pio_sm_put8(PIO pio, uint sm, uint8_t data) in spi_pico_pio_sm_put8() argument 149 io_rw_8 *txfifo = (io_rw_8 *)&pio->txf[sm]; in spi_pico_pio_sm_put8() 154 static inline uint8_t spi_pico_pio_sm_get8(PIO pio, uint sm) in spi_pico_pio_sm_get8() argument 158 io_rw_8 *rxfifo = (io_rw_8 *)&pio->rxf[sm]; in spi_pico_pio_sm_get8() 163 static inline void spi_pico_pio_sm_put16(PIO pio, uint sm, uint16_t data) in spi_pico_pio_sm_put16() argument 167 io_rw_16 *txfifo = (io_rw_16 *)&pio->txf[sm]; in spi_pico_pio_sm_put16() 172 static inline uint16_t spi_pico_pio_sm_get16(PIO pio, uint sm) in spi_pico_pio_sm_get16() argument 174 io_rw_16 *rxfifo = (io_rw_16 *)&pio->rxf[sm]; in spi_pico_pio_sm_get16() 179 static inline void spi_pico_pio_sm_put32(PIO pio, uint sm, uint32_t data) in spi_pico_pio_sm_put32() argument [all …]
|
/Zephyr-latest/drivers/serial/ |
D | uart_rpi_pico_pio.c | 56 static int pio_uart_tx_init(PIO pio, uint32_t sm, uint32_t tx_pin, float div) in pio_uart_tx_init() argument 61 if (!pio_can_add_program(pio, RPI_PICO_PIO_GET_PROGRAM(uart_tx))) { in pio_uart_tx_init() 65 offset = pio_add_program(pio, RPI_PICO_PIO_GET_PROGRAM(uart_tx)); in pio_uart_tx_init() 78 pio_sm_set_pins_with_mask(pio, sm, BIT(tx_pin), BIT(tx_pin)); in pio_uart_tx_init() 79 pio_sm_set_pindirs_with_mask(pio, sm, BIT(tx_pin), BIT(tx_pin)); in pio_uart_tx_init() 80 pio_sm_init(pio, sm, offset, &sm_config); in pio_uart_tx_init() 81 pio_sm_set_enabled(pio, sm, true); in pio_uart_tx_init() 86 static int pio_uart_rx_init(PIO pio, uint32_t sm, uint32_t rx_pin, float div) in pio_uart_rx_init() argument 91 if (!pio_can_add_program(pio, RPI_PICO_PIO_GET_PROGRAM(uart_rx))) { in pio_uart_rx_init() 95 offset = pio_add_program(pio, RPI_PICO_PIO_GET_PROGRAM(uart_rx)); in pio_uart_rx_init() [all …]
|
/Zephyr-latest/drivers/led_strip/ |
D | ws2812_rpi_pico_pio.c | 46 PIO pio; in ws2812_led_strip_sm_init() local 49 pio = pio_rpi_pico_get_pio(config->piodev); in ws2812_led_strip_sm_init() 51 sm = pio_claim_unused_sm(pio, false); in ws2812_led_strip_sm_init() 61 pio_sm_set_consecutive_pindirs(pio, sm, config->gpio_pin, 1, true); in ws2812_led_strip_sm_init() 62 pio_sm_init(pio, sm, -1, &sm_config); in ws2812_led_strip_sm_init() 63 pio_sm_set_enabled(pio, sm, true); in ws2812_led_strip_sm_init() 81 PIO pio = pio_rpi_pico_get_pio(config->piodev); in ws2812_led_strip_update_rgb() local 104 pio_sm_put_blocking(pio, data->sm, color << (config->num_colors == 4 ? 0 : 8)); in ws2812_led_strip_update_rgb() 167 PIO pio; in ws2812_rpi_pico_pio_init() local 174 pio = pio_rpi_pico_get_pio(config->piodev); in ws2812_rpi_pico_pio_init() [all …]
|
/Zephyr-latest/drivers/misc/pio_rpi_pico/ |
D | pio_rpi_pico.c | 17 PIO pio; member 28 retval = pio_claim_unused_sm(config->pio, false); in pio_rpi_pico_allocate_sm() 41 return config->pio; in pio_rpi_pico_get_pio() 64 .pio = (PIO)DT_INST_REG_ADDR(idx), \
|
/Zephyr-latest/samples/boards/raspberrypi/rpi_pico/uart_pio/boards/ |
D | rpi_pico.overlay | 32 compatible = "raspberrypi,pico-uart-pio"; 41 compatible = "raspberrypi,pico-uart-pio";
|
/Zephyr-latest/dts/arm/atmel/ |
D | sam3x.dtsi | 153 pioa: pio@400e0e00 { 163 piob: pio@400e1000 { 173 pioc: pio@400e1200 { 183 piod: pio@400e1400 { 193 pioe: pio@400e1600 {
|
/Zephyr-latest/boards/shields/adafruit_neopixel_grid_bff/boards/ |
D | adafruit_qt_py_rp2040.overlay | 20 compatible = "worldsemi,ws2812-rpi_pico-pio";
|
/Zephyr-latest/tests/drivers/build_all/gpio/ |
D | altera.overlay | 25 compatible = "altr,pio-1.0";
|
/Zephyr-latest/boards/sparkfun/pro_micro_rp2040/ |
D | sparkfun_pro_micro_rp2040.dts | 99 pio-ws2812 { 100 compatible = "worldsemi,ws2812-rpi_pico-pio";
|
/Zephyr-latest/boards/adafruit/kb2040/ |
D | adafruit_kb2040.dts | 97 pio-ws2812 { 98 compatible = "worldsemi,ws2812-rpi_pico-pio";
|
/Zephyr-latest/dts/arm/nxp/ |
D | nxp_lpc11u6x.dtsi | 65 compatible = "nxp,lpc-iocon-pio"; 70 compatible = "nxp,lpc-iocon-pio"; 75 compatible = "nxp,lpc-iocon-pio";
|
/Zephyr-latest/samples/sensor/bme280/ |
D | rpi_pico_spi_pio.overlay | 21 compatible = "raspberrypi,pico-spi-pio";
|
/Zephyr-latest/boards/waveshare/rp2040_zero/ |
D | rp2040_zero.dts | 111 pio-ws2812 { 112 compatible = "worldsemi,ws2812-rpi_pico-pio";
|
/Zephyr-latest/samples/sensor/magn_polling/boards/ |
D | rpi_pico.overlay | 28 compatible = "raspberrypi,pico-spi-pio";
|
/Zephyr-latest/dts/arm/raspberrypi/rpi_pico/ |
D | rp2350.dtsi | 404 pio0: pio@50200000 { 405 compatible = "raspberrypi,pico-pio"; 412 pio1: pio@50300000 { 413 compatible = "raspberrypi,pico-pio"; 420 pio2: pio@50400000 { 421 compatible = "raspberrypi,pico-pio";
|
D | rp2040.dtsi | 396 pio0: pio@50200000 { 397 compatible = "raspberrypi,pico-pio"; 404 pio1: pio@50300000 { 405 compatible = "raspberrypi,pico-pio";
|
/Zephyr-latest/boards/seeed/xiao_rp2040/ |
D | xiao_rp2040.dts | 142 pio-ws2812 { 143 compatible = "worldsemi,ws2812-rpi_pico-pio";
|
/Zephyr-latest/boards/adafruit/qt_py_rp2040/ |
D | adafruit_qt_py_rp2040.dts | 127 pio-ws2812 { 128 compatible = "worldsemi,ws2812-rpi_pico-pio";
|
/Zephyr-latest/samples/sensor/magn_polling/ |
D | README.rst | 22 :dtcompatible:`raspberrypi,pico-spi-pio` SPI driver provides this support,
|
/Zephyr-latest/boards/raspberrypi/rpi_pico/ |
D | rpi_pico_rp2040_w.dts | 42 compatible = "raspberrypi,pico-spi-pio";
|
/Zephyr-latest/boards/waveshare/rp2040_zero/doc/ |
D | index.rst | 74 - :dtcompatible:`raspberrypi,pico-uart-pio` 77 - :dtcompatible:`raspberrypi,pico-spi-pio`
|
/Zephyr-latest/boards/raspberrypi/rpi_pico2/doc/ |
D | index.rst | 77 - :dtcompatible:`raspberrypi,pico-uart-pio`
|
/Zephyr-latest/boards/seeed/xiao_rp2040/doc/ |
D | index.rst | 75 - :dtcompatible:`raspberrypi,pico-uart-pio`
|