//***************************************************************************** // //! Requests a remote wake up to resume communication when in suspended state. //! //! \param pvInstance is the pointer to the bulk device instance structure. //! //! When the bus is suspended, an application which supports remote wake up //! (advertised to the host via the configuration descriptor) may call this function //! to initiate remote wake up signaling to the host. If the remote wake up //! feature has not been disabled by the host, this will cause the bus to //! resume operation within 20mS. If the host has disabled remote wake up, //! \b false will be returned to indicate that the wake up request was not //! successful. //! //! \return Returns \b true if the remote wake up is not disabled and the //! signaling was started or \b false if remote wake up is disabled or if //! signaling is currently ongoing following a previous call to this function. // //***************************************************************************** tBoolean USBDBulkRemoteWakeupRequest(void *pvInstance) { ASSERT(pvInstance); // // Pass the request through to the lower layer. // return(USBDCDRemoteWakeupRequest(0)); }
//***************************************************************************** // //! Requests a remote wake up to resume communication when in suspended state. //! //! \param pvBulkDevice is the pointer to the bulk device instance structure. //! //! When the bus is suspended, an application which supports remote wake up //! (advertised to the host via the configuration descriptor) may call this //! function to initiate remote wake up signaling to the host. If the remote //! wake up feature has not been disabled by the host, this will cause the bus //! to resume operation within 20mS. If the host has disabled remote wake up, //! \b false will be returned to indicate that the wake up request was not //! successful. //! //! \return Returns \b true if the remote wake up is not disabled and the //! signaling was started or \b false if remote wake up is disabled or if //! signaling is currently ongoing following a previous call to this function. // //***************************************************************************** bool USBDBulkRemoteWakeupRequest(void *pvBulkDevice) { ASSERT(pvBulkDevice); // // Pass the request through to the lower layer. // return(USBDCDRemoteWakeupRequest(0)); }