USBCBWakeFromSuspend Function

Microchip USB Device Library

USB Device Library Help
USBCBWakeFromSuspend Function
C
void USBCBWakeFromSuspend();
Description

The host may put USB peripheral devices in low power suspend mode (by "sending" 3+ms of idle). Once in suspend mode, the host may wake the device back up by sending non- idle state signalling. 

This call back is invoked when a wakeup from USB suspend is detected. 

If clock switching or other power savings measures were taken when executing the USBCBSuspend() function, now would be a good time to switch back to normal full power run mode conditions. The host allows a few milliseconds of wakeup time, after which the device must be fully back to normal, and capable of receiving and processing USB packets. In order to do this, the USB module must receive proper clocking (IE: 48MHz clock must be available to SIE for full speed USB operation).

Preconditions

None

Remarks

None

Microchip MCHPFSUSB v2.3 - Sept 20, 2008
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.