USB Controller
Prototype:
uint32_t
ROM_USBHostSpeedGet(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_USBHostSpeedGet is a function pointer located at ROM_USBTABLE[37].
Parameters:
ui32Base specifies the USB module base address.
Description:
This function will return the current speed of the USB bus.
Note:
This function should only be called in host mode.
Returns:
Returns either USB_LOW_SPEED, USB_FULL_SPEED, or USB_UNDEF_SPEED.
24.3.1.47 ROM_USBHostSuspend
Puts the USB bus in a suspended state.
Prototype:
void
ROM_USBHostSuspend(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_USBHostSuspend is a function pointer located at ROM_USBTABLE[38].
Parameters:
ui32Base specifies the USB module base address.
Description:
When used in host mode, this function will put the USB bus in the suspended state.
Note:
This function should only be called in host mode.
Returns:
None.
24.3.1.48 ROM_USBIntDisableControl
Disables control interrupts on a given USB controller.
April 8, 2013 333