![Terasic DE10-Agiles User Manual Download Page 128](http://html1.mh-extra.com/html/terasic/de10-agiles/de10-agiles_user-manual_1088476128.webp)
DE10-Agilex
User Manual
128
www.terasic.com
January 29,
2021
PCIE_Write8
Function:
Write an 8-bit data to the FPGA Board.
Prototype:
bool PCIE_Write8(
PCIE_HANDLE hPCIE,
PCIE_BAR PcieBar,
PCIE_ADDRESS PcieAddress,
uint8_t Byte);
Parameters:
hPCIE:
A PCIe handle return by PCIE_Open function.
PcieBar:
Specify the target BAR.
PcieAddress:
Specify the target address in FPGA.
Byte:
Specify an 8-bit data which will be written to FPGA board.
Return Value:
Return
true
if write data is successful; otherwise
false
is returned.
PCIE_DmaRead
Function:
Read data from the memory-mapped memory of FPGA board in DMA.
Prototype:
bool PCIE_DmaRead(
PCIE_HANDLE hPCIE,
PCIE_LOCAL_ADDRESS LocalAddress,
void *pBuffer,
uint64_t dwBufSize64
);
Parameters:
hPCIE:
A PCIe handle return by PCIE_Open function.