Class holding information about one DMA.
More...
#include <dma.h>
Class holding information about one DMA.
Definition at line 16 of file dma.h.
◆ DMA()
irio::bfp::DMA::DMA |
( |
const std::string & |
_name, |
|
|
const FpgaTypes & |
_fpgaType, |
|
|
const ElemTypes & |
_elemType, |
|
|
const std::uint32_t & |
_address, |
|
|
const size_t & |
_numElem = 1 |
|
) |
| |
Contructor.
Initializes the information about the DMA
- Parameters
-
_name | Name of the DMA |
_fpgaType | FPGA DMA type |
_elemType | Type of the DMA's elements |
_address | Address/Number of the DMA |
_numElem | Number of the elements in the DMA |
◆ getDMANumber()
std::uint32_t irio::bfp::DMA::getDMANumber |
( |
| ) |
const |
Returns the number that identifies this DMA.
- Returns
- Identifier of the DMA
◆ isHostToTarget()
bool irio::bfp::DMA::isHostToTarget |
( |
| ) |
const |
Returns whether the DMA is Host to Target (HtT) or not.
- Returns
- True if it is HtT
◆ isTargetToHost()
bool irio::bfp::DMA::isTargetToHost |
( |
| ) |
const |
Returns whether the DMA is Target to Host (TtH) or not.
- Returns
- True if it is TtH
◆ processDMA()
static DMA irio::bfp::DMA::processDMA |
( |
const pugi::xml_node & |
dmaNode | ) |
|
|
static |
Creates a DMA object from an XML node.
- Parameters
-
dmaNode | XML node with the info of the DMA |
- Returns
- DMA constructed with the information in the XML
The documentation for this class was generated from the following file: