dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_usb_hid_pwr.c File Reference
#include "stm32f10x.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
 

Function Documentation

void Enter_LowPowerMode ( void  )

Definition at line 116 of file pios_usb_hid_pwr.c.

void Leave_LowPowerMode ( void  )

Definition at line 166 of file pios_usb_hid_pwr.c.

RESULT PowerOff ( void  )

Definition at line 90 of file pios_usb_hid_pwr.c.

RESULT PowerOn ( void  )

Definition at line 58 of file pios_usb_hid_pwr.c.

void Resume ( RESUME_STATE  eResumeSetVal)

Definition at line 229 of file pios_usb_hid_pwr.c.

void Resume_Init ( void  )

Definition at line 186 of file pios_usb_hid_pwr.c.

void Suspend ( void  )

Definition at line 129 of file pios_usb_hid_pwr.c.

void USB_Cable_Config ( FunctionalState  NewState)

Definition at line 47 of file pios_usb_hid_pwr.c.

Variable Documentation

__IO uint32_t bDeviceState = UNCONNECTED

Definition at line 27 of file pios_usb_hid_pwr.c.

__IO uint8_t bESOFcnt

Definition at line 32 of file pios_usb_hid_pwr.c.

__IO RESUME_STATE eState

Definition at line 31 of file pios_usb_hid_pwr.c.

__IO bool fSuspendEnabled = true

Definition at line 28 of file pios_usb_hid_pwr.c.

struct { ... } ResumeS