UM10503 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2012. All rights reserved.User manual Rev. 1.3 — 6 July 2012 668 of 1269NXP Semiconductors UM10503Chapter 25: LPC43xx USB APIWakeUpCfg void(*void USBD_HW_API::WakeUpCfg)(USBD_HANDLE_T hUsb, uint32_t cfg)Function to configure USB device controller to wake-up host on remote events.This function is called by application layer to configure the USB device controller to wake-up on remoteevents. It is recommended to call this function from users's USB_WakeUpCfg() callback routineregistered with stack.Remark: User's USB_WakeUpCfg() is registered with stack by setting the USB_WakeUpCfg memberof USBD_API_INIT_PARAM_T structure before calling pUsbApi->hw->Init() routine. Certain USBdevice controllers needed to keep some clocks always on to generate resume signaling throughpUsbApi->hw->WakeUp(). This hook is provided to support such controllers. In most controllers casesthis is an empty routine.Parameters:1. hUsb = Handle to the USB device stack.2. cfg = When 1 - Configure controller to wake on remote events or 0 - Configure controller not towake on remote events.Returns:Nothing.SetAddress void(*void USBD_HW_API::SetAddress)(USBD_HANDLE_T hUsb, uint32_t adr)Function to set USB address assigned by host in device controller hardware.This function is called automatically when USB_REQUEST_SET_ADDRESS request is received bythe stack from USB host. This interface is provided to users to invoke this function in other scenarioswhich are not handle by current stack. In most user applications this function is not called directly. Alsothis function can be used by users who are selectively modifying the USB device stack's standardhandlers through callback interface exposed by the stack.Parameters:1. hUsb = Handle to the USB device stack.2. adr = USB bus Address to which the device controller should respond. Usually assigned by theUSB host.Returns:Nothing.Configure void(*void USBD_HW_API::Configure)(USBD_HANDLE_T hUsb, uint32_t cfg)Function to configure device controller hardware with selected configuration.This function is called automatically when USB_REQUEST_SET_CONFIGURATION request isreceived by the stack from USB host. This interface is provided to users to invoke this function in otherscenarios which are not handle by current stack. In most user applications this function is not calleddirectly. Also this function can be used by users who are selectively modifying the USB device stack'sstandard handlers through callback interface exposed by the stack.Parameters:1. hUsb = Handle to the USB device stack.2. cfg = Configuration index.Returns:Nothing.Table 526. USBD_HW_API class structureMember Description