MPLAB Harmony USB Stack
|
This function will stop the resume signaling. This function should be called after the client has called the USB_DEVICE_RemoteWakeupStart() function.
void USB_DEVICE_RemoteWakeupStop( USB_DEVICE_HANDLE usbDeviceHandle );
Client handle should be valid. The host should have enabled the Remote Wakeup feature for this device.
Parameters |
Description |
usbDeviceHandle |
Client's driver handle (returned from USB_DEVICE_Open) |
None.
None.
// This code example shows how the device can enable and disable // Resume signaling on the bus. These function should only be called if the // device support remote wake-up and the host has enabled this // feature. USB_DEVICE_HANDLE usbDeviceHandle; // Start resume signaling. USB_DEVICE_RemoteWakeupStart(usbDeviceHandle); // As per section 7.1.7.7 of the USB specification, device must // drive resume signaling for at least 1 millisecond but no // more than 15 milliseconds. APP_DelayMilliseconds(10); // Stop resume signaling. USB_DEVICE_RemoteWakeupStop(usbDeviceHandle);
MPLAB Harmony USB Stack
|