USB Controller
Parameters:
ui32Base specifies the USB module base address.
bStart specifies whether to start or stop signaling reset on the USB bus.
Description:
When this function is called with the bStart parameter set to true, this function will cause the
start of a reset condition on the USB bus. The caller should then delay at least 20ms before
calling this function again with the bStart parameter set to false.
Note:
This function should only be called in host mode.
Returns:
None.
24.3.1.45 ROM_USBHostResume
Handles the USB bus resume condition.
Prototype:
void
ROM_USBHostResume(uint32_t ui32Base,
bool bStart)
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_USBHostResume is a function pointer located at ROM_USBTABLE[36].
Parameters:
ui32Base specifies the USB module base address.
bStart specifies if the USB controller is entering or leaving the resume signaling state.
Description:
When in device mode this function will bring the USB controller out of the suspend state. This
call should first be made with the bStart parameter set to true to start resume signaling. The
device application should then delay at least 10ms but not more than 15ms before calling this
function with the bStart parameter set to false.
When in host mode this function will signal devices to leave the suspend state. This call
should first be made with the bStart parameter set to true to start resume signaling. The
host application should then delay at least 20ms before calling this function with the bStart
parameter set to false. This will cause the controller to complete the resume signaling on the
USB bus.
Returns:
None.
24.3.1.46 ROM_USBHostSpeedGet
Returns the current speed of the USB device connected.
332 April 8, 2013