uDMA Controller
UDMA_CHANNEL_USBEP1TX
UDMA_CHANNEL_USBEP2RX
UDMA_CHANNEL_USBEP2TX
UDMA_CHANNEL_USBEP3RX
UDMA_CHANNEL_USBEP3TX
UDMA_CHANNEL_SW
UDMA_SEC_CHANNEL_SW
The ui32Attr parameter is the logical OR of any of the following:
UDMA_ATTR_USEBURST is used to restrict transfers to use only a burst mode.
UDMA_ATTR_ALTSELECT is used to select the alternate control structure for this chan-
nel.
UDMA_ATTR_HIGH_PRIORITY is used to set this channel to high priority.
UDMA_ATTR_REQMASK is used to mask the hardware request signal from the periph-
eral for this channel.
Returns:
None.
23.2.1.3 ROM_uDMAChannelAttributeEnable
Enables attributes of a uDMA channel.
Prototype:
void
ROM_uDMAChannelAttributeEnable(uint32_t ui32ChannelNum,
uint32_t ui32Attr)
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_uDMAChannelAttributeEnable is a function pointer located at
ROM_UDMATABLE[11].
Parameters:
ui32ChannelNum is the channel to configure.
ui32Attr is a combination of attributes for the channel.
Description:
This function is used to enable attributes of a uDMA channel.
The ui32ChannelNum parameter must be only one of the following values:
UDMA_CHANNEL_ADC0
UDMA_CHANNEL_ADC1
UDMA_CHANNEL_ADC2
UDMA_CHANNEL_ADC3
UDMA_SEC_CHANNEL_ADC10
UDMA_SEC_CHANNEL_ADC11
UDMA_SEC_CHANNEL_ADC12
276 April 8, 2013