EasyManuals Logo
Home>Texas Instruments>Microcontrollers>Tiva TM4C123GH6PM

Texas Instruments Tiva TM4C123GH6PM User Manual

Texas Instruments Tiva TM4C123GH6PM
352 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #290 background imageLoading...
Page #290 background image
uDMA Controller
23.2.1.14 ROM_uDMAChannelSizeGet
Gets the current transfer size for a uDMA channel control structure.
Prototype:
uint32_t
ROM_uDMAChannelSizeGet(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_uDMAChannelSizeGet is a function pointer located at ROM_UDMATABLE[15].
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 uDMA transfer size for a channel. The transfer size is the
number of items to transfer, where the size of an item might be 8, 16, or 32 bits. If a partial
transfer has already occurred, then the number of remaining items is returned. If the transfer
is complete, then 0 is returned.
Returns:
Returns the number of items remaining to transfer.
23.2.1.15 ROM_uDMAChannelTransferSet
Sets the transfer parameters for a uDMA channel control structure.
Prototype:
void
ROM_uDMAChannelTransferSet(uint32_t ui32ChannelStructIndex,
uint32_t ui32Mode,
void
*
pvSrcAddr,
void
*
pvDstAddr,
uint32_t ui32TransferSize)
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_uDMAChannelTransferSet is a function pointer located at ROM_UDMATABLE[0].
Parameters:
ui32ChannelStructIndex is the logical OR of the uDMA channel number with either
UDMA_PRI_SELECT or UDMA_ALT_SELECT.
ui32Mode is the type of uDMA transfer.
pvSrcAddr is the source address for the transfer.
pvDstAddr is the destination address for the transfer.
ui32TransferSize is the number of data items to transfer.
290 April 8, 2013

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments Tiva TM4C123GH6PM and is the answer not in the manual?

Texas Instruments Tiva TM4C123GH6PM Specifications

General IconGeneral
BrandTexas Instruments
ModelTiva TM4C123GH6PM
CategoryMicrocontrollers
LanguageEnglish

Related product manuals