SCPY - Functional library for SDMA resources
Detailed Description
The SCPY module provides a list of SDMA operations an algorithm can perform on logical SDMA channels it acquires through the IRES_SDMA protocol. Examples of SCPY operations include channel configuration, SDMA transfer scheduling, and SDMA transfer synchronization.
Define Documentation
#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 |
Function Documentation
Configures transfer on a particular logical handle.
- Parameters:
-
[in] | logicalChannel | Handle to the logical channel on which transfer will be configured |
[in] | params | Params to describe the transfer, src/dst addresses, sychronization mode, transfer dimensions etc. |
Starts a transfer previously configured on a channel.
- Parameters:
-
[in] | logicalChannel | Previously configured logical channel on which to start the transfer. |
Wait for the transfer to complete.
- Parameters:
-
[in] | logicalChannel | Logical channel on which transfer is ongoing. |
Returns status of transfer on the logical channel.
- Parameters:
-
[in] | logicalChannel | Logical channel on which transfer is ongoing. |
- Return values:
-
| TRUE | Transfer completed |
| FALSE | Transfer in progress |