Argsget, Sramwrite, Sramread – Sundance SMT6035 v.2.2 User Manual
Page 30: Sramcancel

Version 2.2
Page 30 of 39
SMT6035 User Manual
15.6.8 ArgsGet
Reads arguments (parameters) from the SRAM area for this channel.
Prototype
void HSC::ArgsGet( UINT nBytes, void *pMem )
Parameters
nBytes
The size of the memory pointed to by pMem. The
maximum size allowed is 64KB.
PMem
Pointer to the buffer that will receive the
parameters from the SRAM.
15.6.9 SramWrite
Writes arguments to the SRAM area of the HSC object.
Prototype
UINT HSC::SramWrite( UINT nBytes, void *pMem )
Parameters
nBytes
The size of the memory pointed to by pMem.
pMem
Points to the host memory to be written to the
argument section of the SRAM for this channel.
Return value
The number bytes actually read by the DSP.
15.6.10 SramRead
Reads arguments from the SRAM area of the HSC object.
Prototype
UINT HSC:: SramRead( UINT nBytes, void *pMem )
Parameters
nBytes
The size of the memory pointed to by pMem.
pMem
Points to the host memory that will receive the
argument section of the SRAM for this channel.
Return value
The number of bytes that were written by the DSP.
15.6.11 SramCancel
Cancels any pending SRAM read or write functions.
Prototype
User Manual - Version 2.2, 04/01/07; © Sundance Italia S.R.L.