pm_pdd.h

来自「freescale i.mx31 BSP CE5.0全部源码」· C头文件 代码 · 共 53 行

H
53
字号
//------------------------------------------------------------------------------
//
//  Copyright (C) 2004, Motorola Inc. All Rights Reserved
//
//------------------------------------------------------------------------------
//
//  Copyright (C) 2004, Freescale Semiconductor, Inc. All Rights Reserved
//  THIS SOURCE CODE IS CONFIDENTIAL AND PROPRIETARY AND MAY NOT
//  BE USED OR DISTRIBUTED WITHOUT THE WRITTEN PERMISSION OF
//  Freescale Semiconductor, Inc.
//
//------------------------------------------------------------------------------

//------------------------------------------------------------------------------
//
//  File:  pm_pdd.h
//
//  Definitions shared between the ARM11 common and BSP specific Power
//  Manager implementation.
//
//------------------------------------------------------------------------------

#ifndef __PM_PDD_H__
#define __PM_PDD_H__

#ifdef __cplusplus
extern "C" {
#endif

//-----------------------------------------------------------------------------
//
// Type: PLATFORM_ACTIVITY_STATE, *PPLATFORM_ACTIVITY_STATE
//
// Describes the system activity states.  These are independent of factors
// such as AC power vs. battery, in cradle or not, etc.  OEMs may choose to add
// their own activity states if they customize this module.
//
//-----------------------------------------------------------------------------
typedef enum
{
    UserActive, UserInactive,
    UserIdle,
    SystemActive, SystemInactive,
    Suspend
} PLATFORM_ACTIVITY_STATE, *PPLATFORM_ACTIVITY_STATE;


#ifdef __cplusplus
}
#endif

#endif // __PM_PDD_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?