#include <arch/cm3.h>
#include <arch/cm3/stm/stm32xxxx_rcc.h>
#include <dev/usb_stm32/usb_lib.h>
#include <dev/usb_stm32/usb_prop.h>
#include <dev/usb_stm32/usb_desc.h>
#include <dev/usb_stm32/hw_config.h>
#include <dev/usb_stm32/usb_pwr.h>
Functions | |
void | Set_USBClock (void) |
void | Enter_LowPowerMode (void) |
void | Leave_LowPowerMode (void) |
void | USB_Cable_Config (FunctionalState NewState) |
void | Get_SerialNum (void) |
Variables | |
LINE_CODING | linecoding |
void Set_USBClock | ( | void | ) |
References RCC, and RCC_AHB2ENR_OTGFSEN.
void Enter_LowPowerMode | ( | void | ) |
References bDeviceState, and SUSPENDED.
Referenced by Suspend().
void Leave_LowPowerMode | ( | void | ) |
References ATTACHED, bDeviceState, CONFIGURED, _DEVICE_INFO::Current_Configuration, and Device_Info.
Referenced by Resume_Init().
void USB_Cable_Config | ( | FunctionalState | NewState | ) |
References DISABLE, USB_DevConnect(), and USB_DevDisconnect().
void Get_SerialNum | ( | void | ) |
References __IO, and Virtual_Com_Port_StringSerial.