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
Summary of Contents for Tiva TM4C123GH6PM
Page 26: ...Boot Loader 26 April 8 2013...
Page 68: ...Controller Area Network CAN 68 April 8 2013...
Page 122: ...Hibernation Module 122 April 8 2013...
Page 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Page 152: ...Memory Protection Unit MPU 152 April 8 2013...
Page 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Page 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Page 222: ...System Control 222 April 8 2013...
Page 270: ...UART 270 April 8 2013...
Page 296: ...uDMA Controller 296 April 8 2013...
Page 351: ...April 8 2013 351...