dRonin
adbada4
dRonin firmware
|
#include "pios.h"
#include "stm32f30x.h"
#include "usb_lib.h"
#include "usb_conf.h"
#include "pios_usb_hid_pwr.h"
#include "pios_usb_hid.h"
Go to the source code of this file.
Functions | |
void | USB_Cable_Config (FunctionalState NewState) |
RESULT | PowerOn (void) |
RESULT | PowerOff () |
void | Enter_LowPowerMode (void) |
void | Suspend (void) |
void | Leave_LowPowerMode (void) |
void | Resume_Init (void) |
void | Resume (RESUME_STATE eResumeSetVal) |
Variables | |
__IO uint32_t | bDeviceState = UNCONNECTED |
__IO bool | fSuspendEnabled = true |
struct { | |
__IO RESUME_STATE eState | |
__IO uint8_t bESOFcnt | |
} | ResumeS |
void Enter_LowPowerMode | ( | void | ) |
Definition at line 117 of file pios_usb_hid_pwr.c.
void Leave_LowPowerMode | ( | void | ) |
Definition at line 167 of file pios_usb_hid_pwr.c.
RESULT PowerOff | ( | void | ) |
Definition at line 91 of file pios_usb_hid_pwr.c.
RESULT PowerOn | ( | void | ) |
Definition at line 59 of file pios_usb_hid_pwr.c.
void Resume | ( | RESUME_STATE | eResumeSetVal | ) |
Definition at line 230 of file pios_usb_hid_pwr.c.
void Resume_Init | ( | void | ) |
Definition at line 187 of file pios_usb_hid_pwr.c.
void Suspend | ( | void | ) |
Definition at line 130 of file pios_usb_hid_pwr.c.
void USB_Cable_Config | ( | FunctionalState | NewState | ) |
Definition at line 48 of file pios_usb_hid_pwr.c.
__IO uint32_t bDeviceState = UNCONNECTED |
Definition at line 28 of file pios_usb_hid_pwr.c.
__IO uint8_t bESOFcnt |
Definition at line 33 of file pios_usb_hid_pwr.c.
__IO RESUME_STATE eState |
Definition at line 32 of file pios_usb_hid_pwr.c.
__IO bool fSuspendEnabled = true |
Definition at line 29 of file pios_usb_hid_pwr.c.
struct { ... } ResumeS |