USB Controller
Parameters:
ui32Base specifies the USB module base address.
Description:
This function will cause the soft connect feature of the USB controller to be enabled. Call
ROM_USBDevDisconnect() to remove the USB device from the bus.
Note:
This function should only be called in device mode.
Returns:
None.
24.3.1.5 ROM_USBDevDisconnect
Removes the USB controller from the bus in device mode.
Prototype:
void
ROM_USBDevDisconnect(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_USBDevDisconnect is a function pointer located at ROM_USBTABLE[4].
Parameters:
ui32Base specifies the USB module base address.
Description:
This function will cause the soft connect feature of the USB controller to remove the device
from the USB bus. A call to ROM_USBDevConnect() is needed to reconnect to the bus.
Note:
This function should only be called in device mode.
Returns:
None.
24.3.1.6 ROM_USBDevEndpointConfigGet
Gets the current configuration for an endpoint.
Prototype:
void
ROM_USBDevEndpointConfigGet(uint32_t ui32Base,
uint32_t ui32Endpoint,
uint32_t
*
pui32MaxPacketSize,
uint32_t
*
pui32Flags)
306 April 8, 2013