IRESMAN EDMA3 -

Data Structures

struct  IRESMAN_Edma3ChanParams
 Configuration parameters for Edma3Chan resman implementation. More...

Functions

String IRESMAN_EDMA3CHAN_getProtocolName ()
 Function to return the name of the protocol.
IRES_ProtocolRevisionIRESMAN_EDMA3CHAN_getProtocolRevision ()
 Function to return the revision of the protocol.
IRES_Status IRESMAN_EDMA3CHAN_init (IRESMAN_Params *initArgs)
 Function to initialize the device specific resource manager implementation.
IRES_Status IRESMAN_EDMA3CHAN_exit ()
 Function called when RESMAN is no longer needed. Use it to free memory allocated etc.
IRES_Handle IRESMAN_EDMA3CHAN_getHandles (IALG_Handle algHandle, IRES_ProtocolArgs *protocolArgs, Int scratchGroupId, IRES_Status *status)
 Function that returns the IRES_Handle to the resource requested using the IRES_ResourceProtocolArgs.
IRES_Status IRESMAN_EDMA3CHAN_freeHandle (IALG_Handle algHandle, IRES_Handle algResourceHandle, IRES_ProtocolArgs *protocolArgs, Int scratchGroupId)
 Frees handles back to the resource pool.

Variables

__FAR__ IRESMAN_PersistentAllocFxn _RMAN_allocPersistent
 Memory allocation functions for all of RMANs and other IRES rotocol's memory requirements.
__FAR__ IRESMAN_PersistentFreeFxn _RMAN_freePersistent
 Memory free functions for all of RMANs and other IRES protocol's memory requirements.
IRESMAN_Fxns IRESMAN_EDMA3CHAN
 IRES RESMAN implementation for EDMA3 Linked transfers.
IRESMAN_ConstructFxns IRESMAN_EDMA3CHAN_CONSTRUCTFXNS

Detailed Description

EDMA3 specific Resource Manager and corresponding IRES Protocol Implementation


Function Documentation

String IRESMAN_EDMA3CHAN_getProtocolName (  ) 

Function to return the name of the protocol.

Return values:
String name identifying the protocol
IRES_ProtocolRevision* IRESMAN_EDMA3CHAN_getProtocolRevision (  ) 

Function to return the revision of the protocol.

Return values:
Revision identifying the protocol
IRES_Status IRESMAN_EDMA3CHAN_init ( IRESMAN_Params initArgs  ) 

Function to initialize the device specific resource manager implementation.

Parameters:
[in] initArgs Initialization arguments that may be interpreted by the device specific implementation
Return values:
IRES_Status IRES_OK Success IRES_EEXISTS Already initialized IRES_EFAIL Error
IRES_Status IRESMAN_EDMA3CHAN_exit (  ) 

Function called when RESMAN is no longer needed. Use it to free memory allocated etc.

Return values:
IRES_Status IRES_OK Success IRES_ENOINIT Not initialized IRES_EFAIL Error
IRES_Handle IRESMAN_EDMA3CHAN_getHandles ( IALG_Handle  algHandle,
IRES_ProtocolArgs protocolArgs,
Int  scratchGroupId,
IRES_Status status 
)

Function that returns the IRES_Handle to the resource requested using the IRES_ResourceProtocolArgs.

Parameters:
[in] algHandle Handle of the algorithm that requests the resources
[in] protocolArgs Arguments to be interpreted by the IRES_Manager implementation to determine which actual physical resources to obtain
[in] scratchGroupId Group Id required if scratch resources are requested, -1 otherwise
[out] status Status of this call
Return values:
IRES_Handle Valid handle corresponding to the resource requested on success, or NULL on error.
IRES_Status IRESMAN_EDMA3CHAN_freeHandle ( IALG_Handle  algHandle,
IRES_Handle  algResourceHandle,
IRES_ProtocolArgs protocolArgs,
Int  scratchGroupId 
)

Frees handles back to the resource pool.

Parameters:
[in] algHandle Handle of the algorithm that frees the resources
[in] algResourceHandle Handle that is to be released
[in] protocolArgs Arguments that help determine which resources to free
[in] scratchGroupId Group Id required if scratch resources are requested, -1 otherwise
Return values:
IRES_Status IRES_OK Success IRES_EFAIL Failure

Variable Documentation

Memory allocation functions for all of RMANs and other IRES rotocol's memory requirements.

Memory free functions for all of RMANs and other IRES protocol's memory requirements.

IRES RESMAN implementation for EDMA3 Linked transfers.


Copyright 2009, Texas Instruments Incorporated