Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/soc/arm/atmel_sam/common/
Dsoc_gpio.c24 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-Core-3.4.0/drivers/gpio/
Dgpio_sam.c45 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-Core-3.4.0/drivers/serial/
Duart_rpi_pico_pio.c56 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-Core-3.4.0/drivers/misc/pio_rpi_pico/
Dpio_rpi_pico.c15 PIO pio; member
23 retval = pio_claim_unused_sm(config->pio, false); in pio_rpi_pico_allocate_sm()
36 return config->pio; in pio_rpi_pico_get_pio()
46 .pio = (PIO)DT_INST_REG_ADDR(idx), \
/Zephyr-Core-3.4.0/samples/boards/rpi_pico/uart_pio/boards/
Drpi_pico.overlay32 compatible = "raspberrypi,pico-uart-pio";
41 compatible = "raspberrypi,pico-uart-pio";
/Zephyr-Core-3.4.0/dts/arm/atmel/
Dsam3x.dtsi145 pioa: pio@400e0e00 {
155 piob: pio@400e1000 {
165 pioc: pio@400e1200 {
175 piod: pio@400e1400 {
185 pioe: pio@400e1600 {
/Zephyr-Core-3.4.0/dts/arm/rpi_pico/
Drp2040.dtsi211 pio0: pio@50200000 {
212 compatible = "raspberrypi,pico-pio";
219 pio1: pio@50300000 {
220 compatible = "raspberrypi,pico-pio";
/Zephyr-Core-3.4.0/dts/arm/nxp/
Dnxp_lpc11u6x.dtsi65 compatible = "nxp,lpc-iocon-pio";
70 compatible = "nxp,lpc-iocon-pio";
75 compatible = "nxp,lpc-iocon-pio";
/Zephyr-Core-3.4.0/modules/hal_rpi_pico/
DCMakeLists.txt126 ${rp2_common_dir}/hardware_pio/pio.c)
/Zephyr-Core-3.4.0/boards/arm/rpi_pico/doc/
Dindex.rst94 - :dtcompatible:`raspberrypi,pico-uart-pio`
/Zephyr-Core-3.4.0/doc/releases/
Drelease-notes-2.2.rst1173 * :github:`14922` - samples/boards/altera_max10/pio: Error configuring GPIO PORT