USB Controller
Description:
This function will return the current device address. This address was set by a call to
ROM_USBDevAddrSet().
Note:
This function should only be called in device mode.
Returns:
The current device address.
24.3.1.3 ROM_USBDevAddrSet
Sets the address in device mode.
Prototype:
void
ROM_USBDevAddrSet(uint32_t ui32Base,
uint32_t ui32Address)
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_USBDevAddrSet is a function pointer located at ROM_USBTABLE[2].
Parameters:
ui32Base specifies the USB module base address.
ui32Address is the address to use for a device.
Description:
This function will set the device address on the USB bus. This address was likely received via
a SET ADDRESS command from the host controller.
Note:
This function should only be called in device mode.
Returns:
None.
24.3.1.4 ROM_USBDevConnect
Connects the USB controller to the bus in device mode.
Prototype:
void
ROM_USBDevConnect(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_USBDevConnect is a function pointer located at ROM_USBTABLE[3].
April 8, 2013 305