EasyManuals Logo

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 #318 background imageLoading...
Page #318 background image
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

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