73 #ifndef ti_sdo_fc_ecpy_ECPY_
74 #define ti_sdo_fc_ecpy_ECPY_
84 #define ti_sdo_fc_ires_NOPROTOCOLREV
87 #define ECPY_GTNAME "ti.sdo.fc.ecpy"
97 #define ECPY_MODNAME "ti.sdo.fc.ecpy"
282 #if defined(ECPY_CONFIGURE_INLINE) || defined(ECPY_INLINE_ALL)
283 #include <ti/sdo/fc/ecpy/ecpy_configure.h>
320 #if defined(ECPY_DIRECTCONFIGURE_INLINE) || defined(ECPY_INLINE_ALL)
321 #include <ti/sdo/fc/ecpy/ecpy_directconfigure.h>
364 #if defined(ECPY_CONFIGURE16_INLINE) || defined(ECPY_INLINE_ALL)
365 #include <ti/sdo/fc/ecpy/ecpy_configure16.h>
368 unsigned short value,
short transferNo);
409 #if defined(ECPY_DIRECTCONFIGURE16_INLINE) || defined(ECPY_INLINE_ALL)
410 #include <ti/sdo/fc/ecpy/ecpy_directconfigure16.h>
413 unsigned short value,
short transferNo);
453 #if defined(ECPY_CONFIGURE32_INLINE) || defined(ECPY_INLINE_ALL)
454 #include <ti/sdo/fc/ecpy/ecpy_configure32.h>
457 unsigned int value,
short transferNo);
498 #if defined(ECPY_DIRECTCONFIGURE32_INLINE) || defined(ECPY_INLINE_ALL)
499 #include <ti/sdo/fc/ecpy/ecpy_directconfigure32.h>
502 unsigned int value,
short transferNo);
536 #if defined(ECPY_SETFINAL_INLINE) || defined(ECPY_INLINE_ALL)
537 #include <ti/sdo/fc/ecpy/ecpy_setfinal.h>
573 #if defined(ECPY_DIRECTSETFINAL_INLINE) || defined(ECPY_INLINE_ALL)
574 #include <ti/sdo/fc/ecpy/ecpy_directsetfinal.h>
628 #if defined(ECPY_START_INLINE) || defined(ECPY_INLINE_ALL)
629 #include <ti/sdo/fc/ecpy/ecpy_start.h>
677 #if defined(ECPY_DIRECTSTARTEDMA_INLINE) || defined(ECPY_INLINE_ALL)
678 #include <ti/sdo/fc/ecpy/ecpy_directstartedma.h>
715 #if defined(ECPY_WAIT_INLINE) || defined(ECPY_INLINE_ALL)
716 #include <ti/sdo/fc/ecpy/ecpy_wait.h>
753 #if defined(ECPY_DIRECTWAIT_INLINE) || defined(ECPY_INLINE_ALL)
754 #include <ti/sdo/fc/ecpy/ecpy_directwait.h>
Void * dstAddr
Definition: ecpy.h:211
Void ECPY_directConfigure32(ECPY_Handle handle, ECPY_ParamField32b fieldId, unsigned int value, short transferNo)
Modify the 32-bit DMA transfer parameter, indicated by the parameter field id, fieldId, of the current channel settings.
Void ECPY_directSetFinal(ECPY_Handle handle, short transferNo)
Indicate that a given transfer will be the last in a sequence of linked transfers.
Void ECPY_directConfigure(ECPY_Handle handle, ECPY_Params *restrict params, short transferNo)
Configure the DMA transfer settings of handle's 'transferNo' transfer. This function always directly ...
Void ECPY_wait(ECPY_Handle handle)
Wait for all data transfers on a logical channel to complete.
Memory records.
Definition: ialg.h:142
ECPY_ScratchFreeFxn * scratchFreeFxn
Scratch Memory free function for all scratch allocated memory in ECPY Handle.
Definition: ecpy.h:913
ECPY_PersistentFreeFxn * freeFxn
Memory free function for all ECPY memory requirements.
Definition: ecpy.h:901
Void ECPY_activate(ECPY_Handle handle)
Activate the given channel.
Algorithm instance object definition.
Definition: ialg.h:159
short dstFrameIndex
Definition: ecpy.h:246
Void ECPY_init(Void)
Initialize the ECPY module. Called by framework.
Void ECPY_deleteHandle(ECPY_Handle handle)
Delete ECPY_Handle.
struct ECPY_Obj * ECPY_Handle
Handle to "logical" ECPY Channel.
Definition: ecpy.h:195
struct ECPY_Params ECPY_Params
DMA transfer specific parameters. Defines the configuration of a logical channel. ...
Void ECPY_directWait(ECPY_Handle handle)
Wait for all EDMA data transfers submitted to the logical channel via ECPY_directStartEdma to complet...
Void ECPY_directStartQdma(ECPY_Handle handle)
ECPY_directStartQdma has not been implemented.
ECPY_ScratchAllocFxn * scratchAllocFxn
Scratch Memory allocation function for all shared scratch ECPY handle state.
Definition: ecpy.h:907
Void ECPY_setDestinationMemoryMode(ECPY_Handle handle, short mode)
Indicate the memory space that DMA transfers submitted to the channel associated with the handle will...
Void ECPY_directStartEdma(ECPY_Handle handle)
Submit a single or linked transfer using the most recently 'direct' configured transfer parameter set...
short srcFrameIndex
Definition: ecpy.h:239
ECPY_TransferType
ECPY DMA Transfer Types:
Definition: ecpy.h:141
short dstElementIndex
Definition: ecpy.h:232
Void ECPY_configure16(ECPY_Handle handle, ECPY_ParamField16b fieldId, unsigned short value, short transferNo)
Modify the 16-bit DMA transfer parameter, indicated by the parameter field id, fieldId, of the current channel settings.
The module configuration structure for ECPY. It is set at design time by the system integrator to reg...
Definition: ecpy.h:891
ECPY_PersistentAllocFxn * allocFxn
Memory allocation function for all ECPY memory requirements.
Definition: ecpy.h:896
ECPY_Handle ECPY_createHandle(IRES_EDMA3CHAN2_Handle handle, IALG_Handle alg)
Create an ECPY Handle using the supplied IRES_EDMA3CHAN handle.
unsigned short elementSize
Definition: ecpy.h:214
Object returned to the algorithm requesting EDMA3 resources.
Definition: ires_edma3Chan.h:679
IRES EDMA3CHAN PROTOCOL Interface Definitions - Allows algorithms to request and receive handles repr...
Void ECPY_configure(ECPY_Handle handle, ECPY_Params *restrict params, short transferNo)
Configures the DMA transfer settings for the transfer=transferNo of the logical channel. Except for transferNo==1, the physical EDMA3 PaRAM associated with the transfer is modified. For transferNo==1 a "shadow" of the PaRAM registers gets configured, so that the configuration of 1st transfer remains persistent following ECPY_startEdma() calls.
Void * srcAddr
Definition: ecpy.h:208
Void ECPY_configure32(ECPY_Handle handle, ECPY_ParamField32b fieldId, unsigned int value, short transferNo)
Modify the 32-bit DMA transfer parameter, indicated by the parameter field id, fieldId, of the current channel settings.
ECPY_ParamField16b
ECPY 16-bit param field structure. These values are passed to ECPY_configure16() to indicate the fiel...
Definition: ecpy.h:105
Void ECPY_start(ECPY_Handle handle)
Submit a single or linked transfer using the most recently configured transfer parameter settings...
Void ECPY_deactivate(ECPY_Handle handle)
Deactivates the given channel.
__FAR__ ECPY_CfgParams ECPY_CFG_PARAMS
Initialization parameters for the ECPY module.
unsigned short numElements
Definition: ecpy.h:217
DMA transfer specific parameters. Defines the configuration of a logical channel. ...
Definition: ecpy.h:202
Void ECPY_setEarlyCompletionMode(ECPY_Handle handle, short enabled)
Setting the TCCMODE (Early or Normal) affects only the 'intermediate transfers' of the linked transfe...
ECPY_getScratchIdFxn * getScratchIdFxn
Function, when supplied, returns the scratchId associated with the algorithm instance whose handle is...
Definition: ecpy.h:919
Bool( ECPY_ScratchAllocFxn)(IALG_Handle alg, Int scratchId, IALG_MemRec *memTab, Int numRecs)
Scratch Memory allocation function for all shared scratch ECPY handle state.
Definition: ecpy.h:866
ECPY_TransferType transferType
Definition: ecpy.h:205
struct ECPY_CfgParams ECPY_CfgParams
The module configuration structure for ECPY. It is set at design time by the system integrator to reg...
Void ECPY_exit(Void)
Finalization of the ECPY module.
Void( ECPY_ScratchFreeFxn)(Int mutexId, Void *addr, UInt size)
Scratch Memory free function for all scratch allocated memory in ECPY Handle.
Definition: ecpy.h:872
ECPY_ParamField32b
ECPY 32-bit param field structure. These values are passed to ECPY_configure32() to indicate the fiel...
Definition: ecpy.h:122
unsigned short numFrames
Definition: ecpy.h:220
Void( ECPY_PersistentFreeFxn)(IALG_MemRec *memTab, Int numRecs)
Memory deallocation function signature for module configuration.
Definition: ecpy.h:860
Void ECPY_directConfigure16(ECPY_Handle handle, ECPY_ParamField16b fieldId, unsigned short value, short transferNo)
Modify the 16-bit DMA transfer parameter, indicated by the parameter field id, fieldId, of the current channel settings. This function always directly configures the physical EDMA3 PaRAM's 16-bit half of the 32-bit registered associated with the transfer & field . No shadow is used.
Void ECPY_setFinal(ECPY_Handle handle, short transferNo)
Indicate that a given transfer will be the last in a sequence of linked transfers.
short srcElementIndex
Definition: ecpy.h:226
Bool( ECPY_PersistentAllocFxn)(IALG_MemRec *memTab, Int numRecs)
Memory allocation function signature for module configuration.
Definition: ecpy.h:855
Int( ECPY_getScratchIdFxn)(IALG_Handle alg)
Function, when supplied, returns the scratchId associated with the algorithm instance whose handle is...
Definition: ecpy.h:878