USB Controller
24.3.1.56 ROM_USBOTGMode
Change the mode of the USB controller to OTG.
Prototype:
void
ROM_USBOTGMode(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_USBOTGMode is a function pointer located at ROM_USBTABLE[59].
Parameters:
ui32Base specifies the USB module base address.
Description:
This function changes the mode of the USB controller to OTG mode.
Returns:
None.
24.3.1.57 ROM_USBPHYPowerOff
Powers off the USB PHY.
Prototype:
void
ROM_USBPHYPowerOff(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_USBPHYPowerOff is a function pointer located at ROM_USBTABLE[56].
Parameters:
ui32Base specifies the USB module base address.
Description:
This function will power off the USB PHY, reducing the current consuption of the device. While
in the powered off state, the USB controller is unable to operate.
Returns:
None.
24.3.1.58 ROM_USBPHYPowerOn
Powers on the USB PHY.
Prototype:
void
ROM_USBPHYPowerOn(uint32_t ui32Base)
April 8, 2013 339