Ctrlput, Ctrlcancel, Argsput – Sundance SMT6035 v.2.2 User Manual

Page 29

Advertising
background image

Version 2.2

Page 29 of 39

SMT6035 User Manual

Parameters

None

Notes:

This function will throw an exception of type SMTExc if CtrlCancel() is
called.

15.6.5 CtrlPut

Sends a control word to the DSP. This function will block until the DSP
has acquired the control word from the host.

Prototype

void HSC::CtrlPut( HSC_WORD w )

Parameters

w

The HSC control word to be sent to the DSP.

Notes:

This function will throw an exception of type SMTExc if CtrlCancel() is
called.

15.6.6 CtrlCancel

Cancels any pending control words. Any thread calling CtrlPut or
CtrlGet will throw an exception of type SMTExc.

Prototype

void HSC::CtrlCancel( void )

Parameters

None

15.6.7 ArgsPut

Writes arguments (parameters) to the SRAM area for this channel.

Prototype

void HSC::ArgsPut( 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 parameters to be copied into the
SRAM.

User Manual - Version 2.2, 04/01/07; © Sundance Italia S.R.L.

Advertising