18#ifndef GNSS_SDR_FPGA_DMA_PROXY_H
19#define GNSS_SDR_FPGA_DMA_PROXY_H
60 static const uint32_t DMA_MAX_BUFFER_SIZE = (128 * 1024);
61 static const uint32_t TX_BUFFER_COUNT = 1;
66 int8_t buffer[DMA_MAX_BUFFER_SIZE];
75 } __attribute__((aligned(1024)));
80 struct channel_buffer *buf_ptr;
int8_t * get_buffer_address(void)
Obtain DMA buffer address.
Fpga_DMA()=default
Default constructor.
~Fpga_DMA()=default
Default destructor.
int DMA_write(int nbytes) const
Transfer DMA data.
int DMA_open(void)
Open the DMA device driver.
int DMA_close(void) const
Close the DMA device driver.