Run-Time Interfaces/Integration Guide
I-A-49
3.3.3.17
EDMA3_DRV_disableLogicalChannel ()
Prototype
EDMA3_DRV_Result
EDMA3_DRV_disableLogicalChannel
(EDMA3_DRV_Handle hEdma, unsigned int lCh,
EDMA3_DRV_TrigMode trigMode);
Description
Disable the event driven DMA channel or QDMA
channel.
This API disables the DMA channel (which was
previously triggered in event mode) by clearing the
Event Enable Register; it disables the QDMA channel
by clearing the QDMA Event Enable Register.
This API should NOT be used for DMA channels which
are not mapped to any hardware events and are used
for memory-to-memory copy based transfers. In case
of that, this API returns error.
<arg1>
hEdma
[IN] Handle to the EDMA3 Driver
Instance.
<arg2>
lCh
[IN]
DMA/QDMA Channel which
needs to be disabled.
A
rg
u
m
e
n
ts
<arg3>
trigMode
[IN]
Mode of triggering start of
transfer
Return value
EDMA3_DRV_SOK or EDMA3_DRV Error Code in case
of error.
Calling
constraints
Example
result = EDMA3_DRV_disableLogicalChannel (hEdma,
chId, EDMA3_DRV_TRIG_MODE_QDMA);
Comments
This function is re-entrant for unique lCh values. It is
non-re-entrant for same lCh value.
See Also
Errors
EDMA3_DRV_E_INVALID_PARAM
Summary of Contents for EDMA3
Page 12: ......
Page 17: ...EDMA3 Driver Introduction I 1 5 ...
Page 20: ......
Page 40: ...Run Time Interfaces Integration Guide A 12 EDMA3_DRV_IOCTL_MAX_IOCTL Max IOCTL ...
Page 75: ...Run Time Interfaces Integration Guide I A 47 Errors EDMA3_DRV_E_INVALID_PARAM ...
Page 107: ...Run Time Interfaces Integration Guide I A 79 ...