Run-Time Interfaces/Integration Guide
A-48
3.3.3.16
EDMA3_DRV_disableTransfer ()
Prototype
EDMA3_DRV_Result EDMA3_DRV_disableTransfer
(EDMA3_DRV_Handle hEdma, unsigned int lCh,
EDMA3_DRV_TrigMode trigMode);
Description
Disable EDMA transfer on the specified channel.
There are multiple ways by which an EDMA3 transfer
could be triggered. The triggering mode option allows
choosing from the available triggering modes: Event,
Manual or QDMA.
To disable a channel which was previously triggered
in manual mode, this API clears the Secondary Event
Register and Event Miss Register, if set, for the
specific DMA channel.
To disable a channel which was previously triggered
in QDMA mode, this API clears the QDMA Even
Enable Register, for the specific QDMA channel.
To disable a channel which was previously triggered
in event mode, this API clears the Event Enable
Register, Event Register, Secondary Event Register
and Event Miss Register, if set, for the specific DMA
channel.
<arg1>
hEdma
[IN] Handle to the EDMA3 Driver
Instance.
<arg2>
lCh
[IN]
Channel on which transfer has
to be stopped.
A
rg
u
m
e
n
ts
<arg3>
trigMode
[IN]
Mode of triggering start of
transfer (Manual, QDMA or
Event)
Return value
EDMA3_DRV_SOK or EDMA3_DRV Error Code in case
of error.
Calling
constraints
Example
result = EDMA3_DRV_disableTransfer
(hEdma,chId,EDMA3_DRV_TRIG_MODE_MANUAL);
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 ...