35#ifndef LIBBSP_AARCH64_RASPBERRYPI_DMA_H
36#define LIBBSP_AARCH64_RASPBERRYPI_DMA_H
38#include <bsp/raspberrypi.h>
39#include <bsp/rpi-gpio.h>
44#include <rtems/score/cpu.h>
124 void *source_address,
125 void *destination_address,
126 uint32_t transfer_length
This header file provides basic definitions used by the API and the implementation.
This header file defines the Cache Manager API.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
This header file provides utility macros for BSPs.
This header file defines interfaces to support and use dynamic memory allocation.
rtems_status_code rpi_dma_mem_to_mem_init(rpi_dma_channel channel, void *source_address, void *destination_address, uint32_t transfer_length)
Initialize a memcpy-style DMA transfer from source_address to destination_address of transfer_length ...
Definition: raspberrypi-dma.c:233
rpi_dma_channel
DMA channel identifiers for BCM2711 (0–6 full, 7–10 lite, 11–14 DMA4).
Definition: raspberrypi-dma.h:54
rtems_status_code rpi_dma_wait(rpi_dma_channel channel)
Block until the current DMA transfer on channel completes.
Definition: raspberrypi-dma.c:221
rtems_status_code rpi_dma_start_transfer(rpi_dma_channel channel)
Start a previously initialized DMA transfer on channel.
Definition: raspberrypi-dma.c:208