18 #include "stm32f30x.h"
73 _SetCNTR(wInterrupt_Mask);
77 wInterrupt_Mask = CNTR_RESETM | CNTR_SUSPM | CNTR_WKUPM;
78 _SetCNTR(wInterrupt_Mask);
101 _SetCNTR(CNTR_FRES + CNTR_PDWN);
150 wCNTR |= CNTR_LPMODE;
169 DEVICE_INFO *pInfo = &Device_Info;
172 if (pInfo->Current_Configuration != 0) {
200 wCNTR &= (~CNTR_LPMODE);
237 ResumeS.eState = eResumeSetVal;
259 OTGD_FS_SetRemoteWakeup();
262 wCNTR |= CNTR_RESUME;
274 OTGD_FS_ResetRemoteWakeup();
277 wCNTR &= (~CNTR_RESUME);
Main PiOS header to include all the compiled in PiOS options.
__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)