Home
last modified time | relevance | path

Searched +full:rpi +full:- +full:pico +full:- +full:dma +full:- +full:rp2350 (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/dts/bindings/dma/
Draspberrypi,pico-dma.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Raspberry Pi Pico DMA
10 Use the definitions defined in `zephyr/dt-bindings/dma/rpi-pico-dma-rp2040.h`,
11 or `zephyr/dt-bindings/dma/rpi-pico-dma-rp2350.h`
13 channel-config: A 32bit mask specifying the DMA channel configuration
14 - bit 3: Enable Quiet IRQ
15 - bit 1: Enable Byte Swap
16 - bit 0: Enable High Priority
18 compatible: "raspberrypi,pico-dma"
20 include: [dma-controller.yaml, reset-device.yaml]
[all …]
/Zephyr-latest/drivers/dma/
Ddma_rpi_pico.c4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/drivers/dma.h>
14 #include <zephyr/dt-bindings/dma/rpi-pico-dma-rp2040.h>
16 #include <zephyr/dt-bindings/dma/rpi-pico-dma-rp2350.h>
19 #include <hardware/dma.h>
60 const struct dma_rpi_pico_config *cfg = dev->config; in rpi_pico_dma_channel_clear_error_flags()
62 ((dma_hw_t *)cfg->reg)->ch[channel].al1_ctrl &= ~DMA_INT_ERROR_FLAGS; in rpi_pico_dma_channel_clear_error_flags()
68 const struct dma_rpi_pico_config *cfg = dev->config; in rpi_pico_dma_channel_get_error_flags()
70 return ((dma_hw_t *)cfg->reg)->ch[channel].al1_ctrl & DMA_INT_ERROR_FLAGS; in rpi_pico_dma_channel_get_error_flags()
75 const struct dma_rpi_pico_config *cfg = dev->config; in rpi_pico_dma_channel_abort()
[all …]