NinjaFlight
|
Connection/disconnection & power management header. More...
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 boolean | fSuspendEnabled |
Connection/disconnection & power management header.
Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.st.com/software_license_agreement_liberty_v2
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
typedef enum _DEVICE_STATE DEVICE_STATE |
typedef enum _RESUME_STATE RESUME_STATE |
enum _DEVICE_STATE |
enum _RESUME_STATE |
RESULT PowerOff | ( | void | ) |
RESULT PowerOn | ( | void | ) |
void Resume | ( | RESUME_STATE | eResumeSetVal | ) |
void Resume_Init | ( | void | ) |
void Suspend | ( | void | ) |
__IO uint32_t bDeviceState |
__IO boolean fSuspendEnabled |