EDMA Configuration Utility API definitions.
- NOTE: (C) Copyright 2018 - 2021 Texas Instruments, Inc.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of Texas Instruments Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
int32_t | DPEDMA_configDummyChannel (EDMA_Handle handle, uint32_t chType, uint32_t *dmaCh, uint32_t *tcc, uint32_t *param) |
|
int32_t | DPEDMA_setSourceAddress (EDMA_Handle handle, uint32_t chanId, uint32_t addressVal) |
|
int32_t | DPEDMA_setDestinationAddress (EDMA_Handle handle, uint32_t chanId, uint32_t addressVal) |
|
int32_t | DPEDMA_setBcntAcnt (EDMA_Handle handle, uint32_t chanId, uint32_t BcntAcnt) |
|
int32_t | DPEDMA_startTransfer (EDMA_Handle handle, uint32_t chanId) |
|
uint32_t | DPEDMA_local2Global (uint32_t addr) |
|
int32_t | DPEDMA_configSyncTransfer (EDMA_Handle handle, DPEDMA_ChanCfg *chanCfg, DPEDMA_ChainingCfg *chainingCfg, DPEDMA_syncABCfg *syncABCfg, bool isEventTriggered, bool isIntermediateTransferCompletionEnabled, bool isTransferCompletionEnabled, Edma_EventCallback transferCompletionCallbackFxn, void *transferCompletionCallbackFxnArg, Edma_IntrObject *intrObj, uint8_t transferType) |
|
int32_t | DPEDMA_linkParamSets (EDMA_Handle handle, uint16_t fromParamId, uint16_t toParamId) |
|
int32_t | DPEDMA_configSyncAB (EDMA_Handle handle, DPEDMA_ChanCfg *chanCfg, DPEDMA_ChainingCfg *chainingCfg, DPEDMA_syncABCfg *syncABCfg, bool isEventTriggered, bool isIntermediateTransferCompletionEnabled, bool isTransferCompletionEnabled, Edma_EventCallback transferCompletionCallbackFxn, void *transferCompletionCallbackFxnArg, Edma_IntrObject *intrObj) |
|
int32_t | DPEDMA_configSyncA_singleFrame (EDMA_Handle handle, DPEDMA_ChanCfg *chanCfg, DPEDMA_ChainingCfg *chainingCfg, DPEDMA_syncACfg *syncACfg, bool isEventTriggered, bool isIntermediateTransferInterruptEnabled, bool isTransferCompletionEnabled, Edma_EventCallback transferCompletionCallbackFxn, void *transferCompletionCallbackFxnArg, Edma_IntrObject *intrObj) |
|
int32_t | DPEDMA_configSyncA (EDMA_Handle handle, DPEDMA_ChanCfg *chanCfg, DPEDMA_ChainingCfg *chainingCfg, DPEDMA_syncACfg *syncACfg, bool isEventTriggered, bool isIntermediateTransferInterruptEnabled, bool isTransferCompletionEnabled, Edma_EventCallback transferCompletionCallbackFxn, void *transferCompletionCallbackFxnArg, Edma_IntrObject *intrObj) |
|
int32_t | DPEDMA_updateAddressAndTrigger (EDMA_Handle handle, uint32_t srcAddress, uint32_t destAddress, uint8_t channel, uint8_t triggerEnabled) |
|
void | DPEDMA_allocateEDMAChannel (EDMA_Handle handle, uint32_t *dmaCh, uint32_t *tcc, uint32_t *param) |
|
void | DPEDMA_freeEDMAChannel (EDMA_Handle handle, uint32_t *dmaCh, uint32_t *tcc, uint32_t *param, uint32_t *shadowParam) |
|
int32_t | DPEDMA_edmaStartTransferManualTrigger (EDMA_Handle handle, uint32_t channel) |
|