beautypg.com

Sundance SMT1026 User Manual

Page 16

background image

Return
value:

None.

Notes:

This function configures the FPGA of the FPGA-only module plugged in the
first TIM slot of the Sundance carrier board.

HostRead

Prototype:

void HostRead(void *pBuf, unsigned int nBytes, HOST_LINK
hostlink=cp);

Parameters:

pBuf

Buffer that receives the data.

nBytes

Size of the data to read.

hostlink

Communication link on which to read the data. Host comport per
default. (See struct

HOST_LINK

).

Return
value:

None.

Notes:

This function reads data from the carrier board.

HostWrite

Prototype:

void HostWrite(void *pBuf, unsigned int nBytes, HOST_LINK
hostlink=cp);

Parameters:

pBuf

Buffer that contains the data to write.

nBytes

Size of the data to write.

hostlink

Communication link on which to write the data. Host comport per
default. (See enum

HOST_LINK

).

Return
value:

None.

Notes:

This function writes data to the carrier board.

HostCancel

Prototype:

void HostCancel(HOST_LINK hostlink=cp);

Parameters:

hostlink

Communication link on which to write the data. Host comport per
default. (See enum

HOST_LINK

).

Return
value:

None.

Notes:

This function cancels pending read/write operations.