uDMA Controller
UDMA_CHANNEL_USBEP1RX
UDMA_CHANNEL_USBEP1TX
UDMA_CHANNEL_USBEP2RX
UDMA_CHANNEL_USBEP2TX
UDMA_CHANNEL_USBEP3RX
UDMA_CHANNEL_USBEP3TX
UDMA_CHANNEL_SW
UDMA_SEC_CHANNEL_SW
Note:
If the channel is UDMA_CHANNEL_SW and interrupts are used, then the completion is sig-
naled on the uDMA dedicated interrupt. If a peripheral channel is used, then the completion is
signaled on the peripheral’s interrupt.
Returns:
None.
23.2.1.11 ROM_uDMAChannelScatterGatherSet
Configures a uDMA channel for scatter-gather mode.
Prototype:
void
ROM_uDMAChannelScatterGatherSet(uint32_t ui32ChannelNum,
uint32_t ui32TaskCount,
void
*
pvTaskList,
uint32_t ui32IsPeriphSG)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_UDMATABLE is an array of pointers located at ROM_APITABLE[17].
ROM_uDMAChannelScatterGatherSet is a function pointer located at
ROM_UDMATABLE[22].
Parameters:
ui32ChannelNum is the uDMA channel number.
ui32TaskCount is the number of scatter-gather tasks to execute.
pvTaskList is a pointer to the beginning of the scatter-gather task list.
ui32IsPeriphSG is a flag to indicate it is a peripheral scatter-gather transfer (else it is memory
scatter-gather transfer).
Description:
This function is used to configure a channel for scatter-gather mode. The caller must have
already set up a task list, and pass a pointer to the start of the task list as the pvTaskList
parameter. The ui32TaskCount parameter is the count of tasks in the task list, not the size of
the task list. The flag bIsPeriphSG should be used to indicate if the scatter-gather should be
configured for a peripheral or memory scatter-gather operation.
Returns:
None.
April 8, 2013 287