beautypg.com

The default handler, Sramputsync, Sramputdone – Sundance SMT6025 v.2.9 User Manual

Page 32

background image

Version 2.9

Page 32 of 45

SMT6025 User Manual


15.7 The default handler

When no channel handler is specified, the default handler will be in operation.
This handler provides the basic functionality on the host side associated with a
HSC.
The default handler is defined by the

HscDflt structure (See HscDflt.h), and

provides a number of functions that are listed in the table below.

Function

Purpose

SramPutSync

Initiate a SRAM put operation.

SRamPutDone

Complete a SRAM put operation.

SramGetSync

Initiate a SRAM get operation.

SramGetDone

Complete a SRAM get operation.

SramCancel

Cancel a pending SRAM put or get operation.

PciOpenSync

Associate host memory with a HSC.

PciCloseSync

Dissociates host memory.

PciPutSync

Initiate a PCI put operation.

PciPutDone

Complete a PCI put operation.

PciGetSync

Initiate a PCI get operation.

PciGetDone

Complete a PCI get operation.

PciCancel

Cancel a pending PCI put or get.

15.7.1 SRamPutSync

Initiate a write to the SRAM arguments area of this HSC object.

Prototype

UINT HscDflt::SramPutSync

(void)

Parameters

None

Return value

The number bytes actually asked for by the DSP.

15.7.2 SRamPutDone

Perform a write to the SRAM arguments area of this HSC object.

Prototype

void HscDflt::SramPutDone (UINT nBytes, void *pMem)

User Manual (QCF42); Version 2.9, 22/02/02; © Sundance Multiprocessor Technology Ltd. 2002

This manual is related to the following products: