dRonin
adbada4
dRonin firmware
|
#include "usb_core.h"
Go to the source code of this file.
Typedefs | |
typedef enum _RESUME_STATE | RESUME_STATE |
typedef enum _DEVICE_STATE | DEVICE_STATE |
Enumerations | |
enum | _RESUME_STATE { RESUME_EXTERNAL, RESUME_INTERNAL, RESUME_LATER, RESUME_WAIT, RESUME_START, RESUME_ON, RESUME_OFF, RESUME_ESOF } |
enum | _DEVICE_STATE { UNCONNECTED, ATTACHED, POWERED, SUSPENDED, ADDRESSED, CONFIGURED } |
Functions | |
void | Suspend (void) |
void | Resume_Init (void) |
void | Resume (RESUME_STATE eResumeSetVal) |
RESULT | PowerOn (void) |
RESULT | PowerOff (void) |
Variables | |
__IO uint32_t | bDeviceState |
__IO bool | fSuspendEnabled |
typedef enum _DEVICE_STATE DEVICE_STATE |
typedef enum _RESUME_STATE RESUME_STATE |
enum _DEVICE_STATE |
Enumerator | |
---|---|
UNCONNECTED | |
ATTACHED | |
POWERED | |
SUSPENDED | |
ADDRESSED | |
CONFIGURED |
Definition at line 35 of file pios_usb_hid_pwr.h.
enum _RESUME_STATE |
Enumerator | |
---|---|
RESUME_EXTERNAL | |
RESUME_INTERNAL | |
RESUME_LATER | |
RESUME_WAIT | |
RESUME_START | |
RESUME_ON | |
RESUME_OFF | |
RESUME_ESOF |
Definition at line 24 of file pios_usb_hid_pwr.h.
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.
__IO uint32_t bDeviceState |
Definition at line 27 of file pios_usb_hid_pwr.c.
__IO bool fSuspendEnabled |
Definition at line 28 of file pios_usb_hid_pwr.c.