Nut/OS  5.0.5
API Reference
usb_pwr.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum _RESUME_STATE RESUME_STATE
typedef enum _DEVICE_STATE DEVICE_STATE

Enumerations

enum  _RESUME_STATE {
  RESUME_EXTERNAL, RESUME_INTERNAL, RESUME_LATER, RESUME_WAIT,
  RESUME_START, RESUME_ON, RESUME_OFF, RESUME_ESOF
}
enum  _DEVICE_STATE {
  UNCONNECTED, ATTACHED, POWERED, SUSPENDED,
  ADDRESSED, CONFIGURED
}

Functions

void Suspend (void)
void Resume_Init (void)
void Resume (RESUME_STATE eResumeSetVal)

Variables

__IO DEVICE_STATE bDeviceState
__IO bool fSuspendEnabled

Typedef Documentation


Enumeration Type Documentation

Enumerator:
RESUME_EXTERNAL 
RESUME_INTERNAL 
RESUME_LATER 
RESUME_WAIT 
RESUME_START 
RESUME_ON 
RESUME_OFF 
RESUME_ESOF 
Enumerator:
UNCONNECTED 
ATTACHED 
POWERED 
SUSPENDED 
ADDRESSED 
CONFIGURED 

Function Documentation

void Suspend ( void  )

References Enter_LowPowerMode().

Referenced by STM32_PCD_OTG_ISR_Handler().

Here is the call graph for this function:

void Resume_Init ( void  )

References Leave_LowPowerMode().

Referenced by Resume().

Here is the call graph for this function:

void Resume ( RESUME_STATE  eResumeSetVal)

References OTGD_FS_Dev_ResetRemoteWakeup(), OTGD_FS_Dev_SetRemoteWakeup(), RESUME_ESOF, RESUME_EXTERNAL, Resume_Init(), RESUME_INTERNAL, RESUME_LATER, RESUME_OFF, RESUME_ON, RESUME_START, RESUME_WAIT, and ResumeS.

Referenced by STM32_PCD_OTG_ISR_Handler().

Here is the call graph for this function:


Variable Documentation