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 #321 background imageLoading...
Page #321 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_USBHostAddrGet is a function pointer located at ROM_USBTABLE[20].
Parameters:
ui32Base specifies the USB module base address.
ui32Endpoint is the endpoint to access.
ui32Flags determines if this is an IN or an OUT endpoint.
Description:
This function returns the current functional address that an endpoint is using to communicate
with a device. The ui32Flags parameter determines if the IN or OUT endpoint’s device address
is returned.
Note:
This function should only be called in host mode.
Returns:
Returns the current function address being used by an endpoint.
24.3.1.28 ROM_USBHostAddrSet
Sets the functional address for the device that is connected to an endpoint in host mode.
Prototype:
void
ROM_USBHostAddrSet(uint32_t ui32Base,
uint32_t ui32Endpoint,
uint32_t ui32Addr,
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_USBHostAddrSet is a function pointer located at ROM_USBTABLE[21].
Parameters:
ui32Base specifies the USB module base address.
ui32Endpoint is the endpoint to access.
ui32Addr is the functional address for the controller to use for this endpoint.
ui32Flags determines if this is an IN or an OUT endpoint.
Description:
This function will set the functional address for a device that is using this endpoint for commu-
nication. This ui32Addr parameter is the address of the target device that this endpoint is used
to communicate with. The ui32Flags parameter indicates if the IN or OUT endpoint should be
set.
Note:
This function should only be called in host mode.
Returns:
None.
April 8, 2013 321

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