beautypg.com

Pciopen, Pciclose, Getdata – Sundance SMT6025 v.2.9 User Manual

Page 30

background image

Version 2.9

Page 30 of 45

SMT6025 User Manual

Prototype

const char * HSC::GetHandlerName (void)

Parameters

None

15.6.4 PciOpen

Associate a region of host PCI memory space with a high-speed
channel.

Prototype

Void * HSC::PciOpen( UINT Bytes, void *pMem,

bool bLocked=false)

Parameters

Bytes

The size of the memory pointed to by pMem.


pMem

Points to the host memory that is to be associated
with this channel.


bLocked

Specifies that the memory pointed to by pMem has
already been locked, and should not be unlocked
when the channel is closed later on.

15.6.5 PciClose

Disassociate the region of host PCI memory space previously
associated with this channel during the PciOpen() call. If the memory
has not been specified as locked, this function will unlock the memory.

Prototype

void HSC::PciClose( void )

Parameters

None

15.6.6 GetData

Return the data field value for the current DSP command word.

Prototype

UINT HSC::GetData (void)

Parameters

None

User Manual (QCF42); Version 2.9, 22/02/02; © Sundance Multiprocessor Technology Ltd. 2002

This manual is related to the following products: