Memopen, Memclose, Memwritestart – Sundance SMT6035 v.2.2 User Manual
Page 31: Sect 15.6.14

Version 2.2
Page 31 of 39
SMT6035 User Manual
Void HSC:: SramCancel( void )
Parameters
None
15.6.12 MemOpen
Associates a region of PCI memory space with a virtual high-speed
channel.
Prototype
Void * HSC::MemOpen( UINT Bytes, void *pMem,
bool bLocked=false)
Parameters
nChannel
The number of the channel to open. Valid channel
numbers are in the range 0 to 7.
pMem
Points to the host memory to be associated with
this channel.
Bytes
The size of the memory pointed to by pMem.
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.13 MemClose
Dissociates the region of PCI memory space previously associated with
the channel during the MemOpen() call. If the memory has not been
specified as locked, this function will unlock the memory.
Prototype
void HSC::MemClose( void )
Parameters
None
15.6.14 MemWriteStart
Starts a write operation to the DSP.
Prototype
UINT HSC::MemWriteStart ( void )
Parameters
None
Return value
The function returns the number of bytes the DSP is prepared to read.
User Manual - Version 2.2, 04/01/07; © Sundance Italia S.R.L.