uDMA Controller
void ROM_uDMADisable (void)
void ROM_uDMAEnable (void)
void ROM_uDMAErrorStatusClear (void)
uint32_t ROM_uDMAErrorStatusGet (void)
void ROM_uDMAIntClear (uint32_t ui32ChanMask)
uint32_t ROM_uDMAIntStatus (void)
23.2.1 Function Documentation
23.2.1.1 ROM_uDMAChannelAssign
Assigns a peripheral mapping for a uDMA channel.
Prototype:
void
ROM_uDMAChannelAssign(uint32_t ui32Mapping)
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_uDMAChannelAssign is a function pointer located at ROM_UDMATABLE[23].
Parameters:
ui32Mapping is a macro specifying the peripheral assignment for a channel
Description:
This function assigns a peripheral mapping to a uDMA channel. It is used to select which pe-
ripheral is used for a uDMA channel. The parameter ui32Mapping should be one of the macros
named UDMA_CHn_tttt from the header file udma.h. For example, to assign uDMA channel
0 to the UART2 RX channel, the parameter should be the macro UDMA_CH0_UART2RX.
Returns:
None.
23.2.1.2 ROM_uDMAChannelAttributeDisable
Disables attributes of a uDMA channel.
Prototype:
void
ROM_uDMAChannelAttributeDisable(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_uDMAChannelAttributeDisable is a function pointer located at
ROM_UDMATABLE[12].
274 April 8, 2013