GD32F1x0: USBD_Power_Private_Functions

GD32F1x0

USBD_Power_Private_Functions

Functions

void USBD_Suspend (void)
 Set usb device to suspend mode. More...
 
void USBD_Resume (RESUME_STATE ResumeValue)
 Resume state machine handling. More...
 

Detailed Description

Function Documentation

void USBD_Resume ( RESUME_STATE  ResumeValue)

Resume state machine handling.

Parameters
ResumeValuea state machine value (RESUME_STATE) This parameter can be any one of the following values:
  • RESUME_EXTERNAL
  • RESUME_INTERNAL
  • RESUME_LATER
  • RESUME_ON
  • RESUME_OFF
  • RESUME_ESOF: it doesn't change state just allowing decrementing of the ESOF counter in different states.
Return values
None

Definition at line 148 of file usbd_pwr.c.

void USBD_Suspend ( void  )

Set usb device to suspend mode.

Parameters
None
Return values
None

Definition at line 110 of file usbd_pwr.c.

Generated by   doxygen 1.8.10