USB Controller
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_USBFIFOAddrGet
is a function pointer located at
ROM_USBTABLE[15]
.
Parameters:
ui32Base
specifies the USB module base address.
ui32Endpoint
specifies which endpoint’s FIFO address to return.
Description:
This function returns the actual physical address of the FIFO. This is needed when the USB is
going to be used with the uDMA controller and the source or destination address needs to be
set to the physical FIFO address for a given endpoint.
Returns:
None.
24.3.1.23 ROM_USBFIFOConfigGet
Returns the FIFO configuration for an endpoint.
Prototype:
void
ROM_USBFIFOConfigGet(uint32_t ui32Base,
uint32_t ui32Endpoint,
uint32_t *pui32FIFOAddress,
uint32_t *pui32FIFOSize,
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_USBFIFOConfigGet
is a function pointer located at
ROM_USBTABLE[16]
.
Parameters:
ui32Base
specifies the USB module base address.
ui32Endpoint
is the endpoint to access.
pui32FIFOAddress
is the starting address for the FIFO.
pui32FIFOSize
is the size of the FIFO in bytes.
ui32Flags
specifies what information to retrieve from the FIFO configuration.
Description:
This function will return the starting address and size of the FIFO for a given endpoint. End-
point zero does not have a dynamically configurable FIFO so this function should not be called
for endpoint zero. The
ui32Flags
parameter specifies whether the endpoint’s OUT or IN FIFO
should be read. If in host mode, the
ui32Flags
parameter should be
USB_EP_HOST_OUT
or
USB_EP_HOST_IN
, and if in device mode the
ui32Flags
parameter should be either
USB_EP_DEV_OUT
or
USB_EP_DEV_IN
.
Returns:
None.
318
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...