GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
Classes | Public Member Functions | List of all members
Fpga_DMA Class Reference

Class that controls the switch DMA in the FPGA. More...

#include <fpga_dma-proxy.h>

Public Member Functions

 Fpga_DMA ()=default
 Default constructor. More...
 
 ~Fpga_DMA ()=default
 Default destructor. More...
 
int DMA_open (void)
 Open the DMA device driver. More...
 
int8_t * get_buffer_address (void)
 Obtain DMA buffer address. More...
 
int DMA_write (int nbytes) const
 Transfer DMA data. More...
 
int DMA_close (void) const
 Close the DMA device driver. More...
 

Detailed Description

Class that controls the switch DMA in the FPGA.

Definition at line 26 of file fpga_dma-proxy.h.

Constructor & Destructor Documentation

◆ Fpga_DMA()

Fpga_DMA::Fpga_DMA ( )
default

Default constructor.

◆ ~Fpga_DMA()

Fpga_DMA::~Fpga_DMA ( )
default

Default destructor.

Member Function Documentation

◆ DMA_close()

int Fpga_DMA::DMA_close ( void  ) const

Close the DMA device driver.

◆ DMA_open()

int Fpga_DMA::DMA_open ( void  )

Open the DMA device driver.

◆ DMA_write()

int Fpga_DMA::DMA_write ( int  nbytes) const

Transfer DMA data.

◆ get_buffer_address()

int8_t* Fpga_DMA::get_buffer_address ( void  )

Obtain DMA buffer address.


The documentation for this class was generated from the following file: