Run-Time Interfaces/Integration Guide
A-30
user callback function (ISR context).
Example
result = EDMA3_DRV_requestChannel (hEdma,
&chId, &tcc, (EDMA3_RM_EventQueue)0, &callback,
NULL);
Comments
a) Requested logical channel number could be:
1) EDMA3_DRV_HW_CHANNEL_EVENT_0 –
DMA Channel mapped to EDMA3 Event 0
2) EDMA3_DRV_DMA_CHANNEL_ANY – Any
EDMA3 Channel with no event mapping
3) EDMA3_DRV_QDMA_CHANNEL_ANY – Any
QDMA Channel
4) EDMA3_DRV_QDMA_CHANNEL_0 – QDMA
Channel 0
5) EDMA3_DRV_LINK_CHANNEL – Link
Channel, to be linked to some other Master
EDMA3 Channel. To request a PaRAM Set
for the purpose of linking, use this.
b) Channel number on which the completion
interrupt/error will be generated could be:
1) EDMA3_DRV_HW_CHANNEL_EVENT_0 –
TCC associated with DMA Channel mapped
to EDMA3 Event 0.
2) EDMA3_DRV_TCC_ANY - Any TCC with no
event mapping.
c) This API will not enable the interrupts (IER/IERH
register) if the callback function specified by the
user is NULL. This is done to provide support for
users who want to use EDMA3 in POLL mode.
See Also
Errors
EDMA3_DRV_E_INVALID_PARAM,
EDMA3_DRV_E_DMA_CHANNEL_UNAVAIL,
EDMA3_DRV_E_QDMA_CHANNEL_UNAVAIL,
EDMA3_DRV_E_PARAM_SET_UNAVAIL,
EDMA3_DRV_E_TCC_UNAVAIL,
EDMA3_DRV_E_TCC_REGISTER_FAIL,
EDMA3_DRV_E_CH_PARAM_BIND_FAIL
Содержание 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 ...