USB Controller
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_USBHostHubAddrSet is a function pointer located at ROM_USBTABLE[27].
Parameters:
ui32Base specifies the USB module base address.
ui32Endpoint is the endpoint to access.
ui32Addr is the hub address for the device using this endpoint.
ui32Flags determines if this is an IN or an OUT endpoint.
Description:
This function will set the hub address for a device that is using this endpoint for communication.
The ui32Flags parameter determines if the device address for the IN or the OUT endpoint is
set by this call.
Note:
This function should only be called in host mode.
Returns:
None.
24.3.1.35 ROM_USBHostMode
Change the mode of the USB controller to host.
Prototype:
void
ROM_USBHostMode(uint32_t ui32Base)
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_USBHostMode is a function pointer located at ROM_USBTABLE[54].
Parameters:
ui32Base specifies the USB module base address.
Description:
This function changes the mode of the USB controller to host mode.
Returns:
None.
326 April 8, 2013