17 #include "stm32f10x.h"
72 _SetCNTR(wInterrupt_Mask);
76 wInterrupt_Mask = CNTR_RESETM | CNTR_SUSPM | CNTR_WKUPM;
77 _SetCNTR(wInterrupt_Mask);
100 _SetCNTR(CNTR_FRES + CNTR_PDWN);
149 wCNTR |= CNTR_LPMODE;
168 DEVICE_INFO *pInfo = &Device_Info;
171 if (pInfo->Current_Configuration != 0) {
199 wCNTR &= (~CNTR_LPMODE);
236 ResumeS.eState = eResumeSetVal;
258 OTGD_FS_SetRemoteWakeup();
261 wCNTR |= CNTR_RESUME;
273 OTGD_FS_ResetRemoteWakeup();
276 wCNTR &= (~CNTR_RESUME);
__IO uint32_t bDeviceState
enum _RESUME_STATE RESUME_STATE
USB HID layer functions header.
void Leave_LowPowerMode(void)
__IO bool fSuspendEnabled
void Resume(RESUME_STATE eResumeSetVal)
void Enter_LowPowerMode(void)
void USB_Cable_Config(FunctionalState NewState)