#include <arch/cm3/stm/stm32xxxx.h>
#include <dev/usb_stm32/usb_lib.h>
#include <dev/usb_stm32/usb_conf.h>
#include <dev/usb_stm32/usb_pwr.h>
#include <dev/usb_stm32/hw_config.h>
Defines | |
#define | __IO volatile |
Functions | |
void | Suspend (void) |
void | Resume_Init (void) |
void | Resume (RESUME_STATE eResumeSetVal) |
Variables | |
__IO DEVICE_STATE | bDeviceState = UNCONNECTED |
__IO bool | fSuspendEnabled = TRUE |
struct { | |
__IO RESUME_STATE eState | |
__IO uint8_t bESOFcnt | |
} | ResumeS |
#define __IO volatile |
* $Id: stm32_usb_pwr.c 4268 2012-06-15 13:24:08Z haraldkipp $ *
void Suspend | ( | void | ) |
References Enter_LowPowerMode().
Referenced by STM32_PCD_OTG_ISR_Handler().
void Resume_Init | ( | void | ) |
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().
__IO DEVICE_STATE bDeviceState = UNCONNECTED |
__IO bool fSuspendEnabled = TRUE |
Referenced by STM32_PCD_OTG_ISR_Handler().
__IO RESUME_STATE eState |