Function reference, Hscinterface, Getifhw – Sundance SMT6035 v.2.2 User Manual
Page 28: Getchannel, Ctrlget

Version 2.2
Page 28 of 39
SMT6035 User Manual
15.6 Function reference
All the HSC interaction is by means of a HSC object. This object exposes all the
functions associated with a high-speed channel. You get an interface to a HSC
object by calling HscInterface().
15.6.1 HscInterface
Returns an interface to a HSC object that represents the specified high-
speed channel.
Prototype:
HSC * IFHw:: HscInterface (UINT Channel)
Parameters:
Channel
The number of the channel you get an interface to.
Valid channel numbers are in the range 0 to 7.
Once you have acquired the interface to the HSC object, you may call
any of the following functions on that interface.
15.6.2 GetIFHw
Obtains a pointer to the hardware interface of this HSC object.
Prototype
IFHw * HSC::GetIFHw( void )
Parameters
None
15.6.3 GetChannel
Returns the channel number for this HSC object.
Prototype
UINT HSC::GetChannel( void )
Parameters
None
15.6.4 CtrlGet
Obtains a control word from the DSP. This function will block until the
host receives a control word from the DSP.
Prototype
HSC_WORD HSC::CtrlGet( void )
User Manual - Version 2.2, 04/01/07; © Sundance Italia S.R.L.