beautypg.com

Gethandler, Waithandler, Waitanyhandler – Sundance SMT6025 v.2.9 User Manual

Page 26: Waitcloseapp

background image

Version 2.9

Page 26 of 45

SMT6025 User Manual

A number of functions allow the host application to interface with the
channel handler.

15.5.2.1 GetHandler

Obtain an interface to the currently active handler on a channel.

Prototype

HSCHndl * IFHw::GetHandler

(UINT Channel)

Parameters

nChannel

The channel for which to get the handler.


15.5.2.2 WaitHandler

Wait for the DSP to load a handler on the channel specified and then
obtain an interface to the handler.

Prototype

HSCHndl * IFHw:: WaitHandler (UINT Channel)

Parameters

nChannel

The channel for which to get the handler.

15.5.2.3 WaitAnyHandler

Wait for the DSP to load a handler on any channel and then obtain
an interface to the loaded handler.

Prototype

HSCHndl * IFHw::WaitAnyHandler

(void)

Parameters

None

15.5.2.4 WaitCloseApp

Wait for the DSP to send a HSC_CloseHostApp command to the
host. This command indicates that the host application should
terminate.

Prototype

void IFHw::WaitCloseApp (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: