uDMA Controller
UDMA_CHANNEL_USBEP1TX
UDMA_CHANNEL_USBEP2RX
UDMA_CHANNEL_USBEP2TX
UDMA_CHANNEL_USBEP3RX
UDMA_CHANNEL_USBEP3TX
UDMA_CHANNEL_SW
UDMA_SEC_CHANNEL_SW
Returns:
Returns true if the channel is enabled, false if disabled.
23.2.1.9 ROM_uDMAChannelModeGet
Gets the transfer mode for a uDMA channel control structure.
Prototype:
uint32_t
ROM_uDMAChannelModeGet(uint32_t ui32ChannelStructIndex)
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_uDMAChannelModeGet is a function pointer located at ROM_UDMATABLE[16].
Parameters:
ui32ChannelStructIndex is the logical OR of the uDMA channel number with either
UDMA_PRI_SELECT or UDMA_ALT_SELECT.
Description:
This function is used to get the transfer mode for the uDMA channel. It can be used to
query the status of a transfer on a channel. When the transfer is complete the mode is
UDMA_MODE_STOP.
Returns:
Returns the transfer mode of the specified channel and control structure, which is one of the
following values: UDMA_MODE_STOP, UDMA_MODE_BASIC, UDMA_MODE_AUTO,
UDMA_MODE_PINGPONG, UDMA_MODE_MEM_SCATTER_GATHER, or
UDMA_MODE_PER_SCATTER_GATHER.
23.2.1.10 ROM_uDMAChannelRequest
Requests a uDMA channel to start a transfer.
Prototype:
void
ROM_uDMAChannelRequest(uint32_t ui32ChannelNum)
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_uDMAChannelRequest is a function pointer located at ROM_UDMATABLE[10].
April 8, 2013 285