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
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...