Run-Time Interfaces/Integration Guide
I-A-35
3.3.3.6
EDMA3_DRV_setOptField ()
Prototype
EDMA3_DRV_Result EDMA3_DRV_setOptField
(EDMA3_DRV_Handle hEdma, unsigned int lCh,
EDMA3_DRV_OptField optField, unsigned int
newOptFieldVal);
Description
Set a particular OPT field in the PaRAM set
associated with the logical channel ‘lCh’.
This API can be used to set various optional
parameters
for
an
EDMA3
transfer.
Like
enable/disable completion interrupts, enable/disable
chaining, setting the transfer mode (A/AB Sync),
setting the FIFO width etc.
<arg1>
hEdma[IN] Handle to the EDMA3 Driver Instance.
<arg2>
lCh
[IN]
Logical Channel, bound to which
PaRAM set OPT field needs to be set.
A
rg
u
m
e
n
ts
<arg3>
optField
[IN]
The particular field of
OPT Word that needs
setting.
<arg4>
newOptFieldVal
[IN]
The new OPT field
value.
Return value
EDMA3_DRV_SOK or EDMA3_DRV Error Code in
case of error.
Calling
constraints
Example
result = EDMA3_DRV_setOptField (hEdma, chId,
EDMA3_DRV_OPT_FIELD_TCINTEN, 1u);
Comments
It is re-entrant for unique lCh values. It is non-re-
entrant for same lCh value.
See Also
Errors
EDMA3_DRV_E_INVALID_PARAM
Содержание EDMA3
Страница 1: ...November 2009 Anuj Aggarwal Document Version 01 11 00 XX EDMA3 Driver U s e r s G u i d e User Guide ...
Страница 12: ......
Страница 17: ...EDMA3 Driver Introduction I 1 5 ...
Страница 20: ......
Страница 40: ...Run Time Interfaces Integration Guide A 12 EDMA3_DRV_IOCTL_MAX_IOCTL Max IOCTL ...
Страница 75: ...Run Time Interfaces Integration Guide I A 47 Errors EDMA3_DRV_E_INVALID_PARAM ...
Страница 107: ...Run Time Interfaces Integration Guide I A 79 ...