USB Controller
ui32Endpoint
is the endpoint to access.
ui32Flags
are the status bits that should be cleared.
Description:
This function will clear the status of any bits that are passed in the
ui32Flags
parameter. The
ui32Flags
parameter can take the value returned from the
call.
Note:
This function should only be called in host mode.
Returns:
None.
24.3.1.33 ROM_USBHostHubAddrGet
Get the current device hub address for this endpoint.
Prototype:
uint32_t
ROM_USBHostHubAddrGet(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_USBHostHubAddrGet
is a function pointer located at
ROM_USBTABLE[26]
.
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 will return the current hub address that an endpoint is using to communicate with
a device. The
ui32Flags
parameter determines if the device address for the IN or OUT endpoint
is returned.
Note:
This function should only be called in host mode.
Returns:
This function returns the current hub address being used by an endpoint.
24.3.1.34 ROM_USBHostHubAddrSet
Set the hub address for the device that is connected to an endpoint.
Prototype:
void
ROM_USBHostHubAddrSet(uint32_t ui32Base,
April 8, 2013
325
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...