SCPY Module interface Definitions (C64P) - Allows algorithms submit and sychronize with SDMA transfers.
#include <ti/sdo/fc/ires/sdma/ires_sdma.h>
Go to the source code of this file.
Data Structures | |
struct | SCPY_AddrParams |
Parameters of Address (source or destination) of transfer. More... | |
struct | SCPY_TransferParams |
Details of Transfer. More... | |
struct | SCPY_Params |
Defines | |
#define | OMAP_DMA_DATA_TYPE_S8 0x00 |
#define | OMAP_DMA_DATA_TYPE_S16 0x01 |
#define | OMAP_DMA_DATA_TYPE_S32 0x02 |
#define | OMAP_DMA_PORT_EMIFF 0x00 |
#define | OMAP_DMA_AMODE_POST_CONST 0x00 |
#define | OMAP_DMA_AMODE_POST_INC 0x01 |
#define | OMAP_DMA_AMODE_POST_SINGLE_INDEX 0x02 |
#define | OMAP_DMA_AMODE_POST_DOUBLE_INDEX 0x03 |
#define | OMAP_DMA_SYNC_MODE_ELEMENT 0x00 |
To identify mode of sychronization of transfer. | |
#define | OMAP_DMA_SYNC_MODE_FRAME 0x01 |
#define | OMAP_DMA_SYNC_MODE_BLOCK 0x02 |
#define | OMAP_DMA_SYNC_TYPE_DEST 0x00 |
#define | OMAP_DMA_SYNC_TYPE_SRC 0x01 |
Functions | |
void | SCPY_init () |
SCPY initialization API. | |
void | SCPY_exit () |
SCPY finalization API. | |
void | SCPY_configure (IRES_SDMA_Handle logicalChannel, SCPY_Params *params) |
Configures transfer on a particular logical handle. | |
void | SCPY_start (IRES_SDMA_Handle logicalChannel) |
Starts a transfer previously configured on a channel. | |
void | SCPY_wait (IRES_SDMA_Handle logicalChannel) |
Wait for the transfer to complete. | |
Bool | SCPY_complete (IRES_SDMA_Handle logicalChannel) |
Returns status of transfer on the logical channel. |