Download EDMA3 Driver

Transcript
Run-Time Interfaces/Integration Guide
3.3.4.1 EDMA3_DRV_close ()
EDMA3_DRV_Result
EDMA3_DRV_close(EDMA3_DRV_Handle
hEdma, void *param)
Description
It is used to close an already opened EDMA3
Driver Instance. It should be called when the
EDMA3 driver functionality is no more required
Argume
nts
Prototype
<arg1>
hEdma
[IN]
Handle to the EDMA3
Driver Instance.
<arg2>
param
[IN]
For possible future use.
Return value
EDMA3_DRV_SOK or EDMA3_DRV Error Code in
case of error.
Calling constraints
Example
result = EDMA3_DRV_close (hEdma, NULL);
Comments
This function disables the global interrupts while
modifying the global Driver data structures, to
make it re-entrant.
See Also
Errors
EDMA3_DRV_E_INVALID_PARAM,
EDMA3_DRV_E_OBJ_NOT_OPENED,
EDMA3_DRV_E_RM_CLOSE_FAIL
I-A-69