USB Controller
be used with transmit endpoints. This allows the 3 receive and 3 transmit DMA channels to be
mapped to any endpoint other than 0. The values that should be passed into the
ui32Channel
value are the UDMA_CHANNEL_USBEP
∗
values defined in udma.h.
Note:
This function only has an effect on microcontrollers that have the ability to change the DMA
channel for an endpoint. Calling this function on other devices will have no effect.
Returns:
None.
24.3.1.19 ROM_USBEndpointDMADisable
Disable DMA on a given endpoint.
Prototype:
void
ROM_USBEndpointDMADisable(uint32_t ui32Base,
uint32_t ui32Endpoint,
uint32_t ui32Flags)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_USBTABLE
is an array of pointers located at
ROM_APITABLE[16]
.
ROM_USBEndpointDMADisable
is a function pointer located at
ROM_USBTABLE[43]
.
Parameters:
ui32Base
specifies the USB module base address.
ui32Endpoint
is the endpoint to access.
ui32Flags
specifies which direction to disable.
Description:
This function will disable DMA on a given end point to allow non-DMA USB transactions to gen-
erate interrupts normally. The
ui32Flags
should be
USB_EP_DEV_IN
or
USB_EP_DEV_OUT
all other bits are ignored.
Returns:
None.
24.3.1.20 ROM_USBEndpointDMAEnable
Enable DMA on a given endpoint.
Prototype:
void
ROM_USBEndpointDMAEnable(uint32_t ui32Base,
uint32_t ui32Endpoint,
uint32_t ui32Flags)
April 8, 2013
315
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...