HAN Pilot Platform
Demonstration Manual
79
www.terasic.com
September 6, 2019
PCIE_HANDLE hPCIE,
PCIE_LOCAL_ADDRESS LocalAddress,
void *pData,
uint32_t dwDataSize
);
Parameters:
hPCIE:
A PCIe handle return by PCIE_Open function.
LocalAddress:
Specify the target memory mapped address in FPGA.
pData:
A pointer to a memory buffer to store the data which will be written to FPGA.
dwDataSize:
Specify the byte number of data which will be written to FPGA.
Return Value:
Return
true
if write data is successful; otherwise
false
is returned.
PCIE_ConfigRead32
Function:
Read PCIe Configuration Table. Read a 32-bit data by given a byte offset.
Prototype:
bool PCIE_ConfigRead32 (
PCIE_HANDLE hPCIE,
uint32_t Offset,
uint32_t *pdwData
);
Parameters:
hPCIE:
A PCIe handle return by PCIE_Open function.
Offset:
Specify the target byte of offset in PCIe configuration table.
pdwData:
A 4-bytes buffer to retrieve the 32-bit data.
Return Value:
Return
true
if read data is successful; otherwise
false
is returned.
5
5
.
.
5
5
P
P
C
C
I
I
e
e
R
R
e
e
f
f
e
e
r
r
e
e
n
n
c
c
e
e
D
D
e
e
s
s
i
i
g
g
n
n
–
–
F
F
u
u
n
n
d
d
a
a
m
m
e
e
n
n
t
t
a
a
l
l
The application reference design shows how to implement fundamental control and data transfer in
DMA. In the design, basic I/O is used to control the BUTTON and LED on the FPGA board.
High-speed data transfer is performed by DMA.
Содержание HAN Pilot Platform
Страница 1: ......
Страница 92: ...HAN Pilot Platform Demonstration Manual 91 www terasic com September 6 2019...