Functions | Defines | Data Structures | Typedefs | Enumerations | Variables

acpy3.h File Reference


Detailed Description

ACPY3 Definitions (C64P) - 3rd Generation ACPY. Provides a comprehensive list of DMA operations an algorithm can perform on logical DMA channels it acquires through the IDMA3 protocol.

#include <ti/xdais/idma3.h>
Include dependency graph for acpy3.h:

Go to the source code of this file.

Functions

Void ACPY3_configure (IDMA3_Handle handle, ACPY3_Params *params, short transferNo)
 Functions called by the framework for allocating and initializing the channel state.
Void ACPY3_fastConfigure16b (IDMA3_Handle handle, ACPY3_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.
Void ACPY3_fastConfigure32b (IDMA3_Handle handle, ACPY3_ParamField32b fieldId, Uns value, short transferNo)
 Modify the 32-bit DMA transfer parameter, indicated by the parameter field id, fieldId, of the current channel settings.
Void ACPY3_setFinal (IDMA3_Handle handle, short transferNo)
 Indicate that a given transfer will be the last in a sequence of linked transfers.
Void ACPY3_fastSetFinal (IDMA3_Handle handle, short transferNo)
 Indicate that a given transfer will be the last in a sequence of linked transfers.
Void ACPY3_start (IDMA3_Handle handle)
 Submit a single or linked transfer using the most recently configured transfer parameter settings.
Void ACPY3_wait (IDMA3_Handle handle)
 Wait for all data transfers on a logical channel to complete.
Void ACPY3_waitLinked (IDMA3_Handle handle, unsigned short waitId)
 Wait for an individual transfer in a Linked transfer to finish.
Bool ACPY3_complete (IDMA3_Handle handle)
 Check to see if all dma transfers on logical channel are finished.
Bool ACPY3_completeLinked (IDMA3_Handle handle, unsigned short waitId)
 Non-blocking query to check completion of an individual transfer in a Linked transfer.
Void ACPY3_activate (IDMA3_Handle handle)
 Activate the given channel.
Void ACPY3_deactivate (IDMA3_Handle handle)
 Deactivates the given channel.
Void ACPY3_init (Void)
 Initialize the ACPY3 module. Called by framework.
Void ACPY3_exit (Void)
 Finalization of the ACPY3 module.

Defines

#define ACPY3_GTNAME   "ti.sdo.fc.acpy3"
#define ACPY3_MODNAME   "ti.sdo.fc.acpy3"
 Name to pass to Diags_setMask() to enable logging for ACPY3 functions. For example, Diags_setMask(ACPY3_MODNAME"+EX1234567"); turns on all Log statements in this module. Diags_setMask() must be called after initialization to take effect.

Data Structures

struct  ACPY3_Params
 DMA transfer specific parameters. Defines the configuration of a logical channel. More...

Typedefs

typedef enum ACPY3_ParamField16b ACPY3_ParamField16b
 ACPY3 16-bit param field structure. These values are passed to ACPY3_fastConfigure16b() to indicate the field of the ACPY3_Params structure to be changed.
typedef enum ACPY3_ParamField32b ACPY3_ParamField32b
 ACPY3 32-bit param field structure. These values are passed to ACPY3_fastConfigure32b() to indicate the field of the ACPY3_Params structure to be changed.
typedef enum ACPY3_TransferType ACPY3_TransferType
 ACPY3 DMA Transfer Types:
typedef struct ACPY3_Params ACPY3_Params
 DMA transfer specific parameters. Defines the configuration of a logical channel.

Enumerations

enum  ACPY3_ParamField16b {
  ACPY3_PARAMFIELD_ELEMENTSIZE = 8,
  ACPY3_PARAMFIELD_NUMELEMENTS = 10,
  ACPY3_PARAMFIELD_ELEMENTINDEX_SRC = 16,
  ACPY3_PARAMFIELD_ELEMENTINDEX_DST = 18,
  ACPY3_PARAMFIELD_FRAMEINDEX_SRC = 24,
  ACPY3_PARAMFIELD_FRAMEINDEX_DST = 26,
  ACPY3_PARAMFIELD_NUMFRAMES = 28
}
 

ACPY3 16-bit param field structure. These values are passed to ACPY3_fastConfigure16b() to indicate the field of the ACPY3_Params structure to be changed.

More...
enum  ACPY3_ParamField32b {
  ACPY3_PARAMFIELD_SRCADDR = 4,
  ACPY3_PARAMFIELD_DSTADDR = 12,
  ACPY3_PARAMFIELD_ELEMENTINDEXES = 16,
  ACPY3_PARAMFIELD_FRAMEINDEXES = 24
}
 

ACPY3 32-bit param field structure. These values are passed to ACPY3_fastConfigure32b() to indicate the field of the ACPY3_Params structure to be changed.

More...
enum  ACPY3_TransferType {
  ACPY3_1D1D,
  ACPY3_1D2D,
  ACPY3_2D1D,
  ACPY3_2D2D
}
 

ACPY3 DMA Transfer Types:

More...

Variables

IDMA3_ProtocolObj ACPY3_PROTOCOL
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2012, Texas Instruments Incorporated