亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? pwr_interface.h

?? freescale的基于802.15.4的無線通訊例程
?? H
字號(hào):
/************************************************************************************
* Function to handle/set the different power down states.
*
* Author(s): Peter B. Busk, Mads Westergreen
*
* (c) Copyright 2005, Freescale Semiconductor, Inc. All rights reserved.
*
* Freescale Confidential Proprietary
* Digianswer Confidential
*
* No part of this document must be reproduced in any form - including copied,
* transcribed, printed or by any electronic means - without specific written
* permission from Freescale.
*
************************************************************************************/
#ifndef _PWR_H_
#define _PWR_H_

/************************************************************************************
*************************************************************************************
* Includes and external declarations
*************************************************************************************
************************************************************************************/
#include "EmbeddedTypes.h"
#include "PWRLib.h"

extern void AbelRegisterSetup(void);

/************************************************************************************
*************************************************************************************
* Public Macros
*************************************************************************************
************************************************************************************/
#define gAllowDeviceToSleep_c 0

/************************************************************************************
*************************************************************************************
* Public types
*************************************************************************************
************************************************************************************/
//---------------------------------------------------------------------------//
/*--- Parameter type for PWR_CheckForAndEnterNewPowerState(..) call       ---*/
typedef enum {PWR_Run = 77, PWR_Sleep, PWR_DeepSleep, PWR_Reset, PWR_OFF} PWR_CheckForAndEnterNewPowerState_t;

/************************************************************************************
*************************************************************************************
* Public prototypes
*************************************************************************************
************************************************************************************/
/*****************************************************************************
* This function is used to  set the global variable which 
* permits(on SET)/restricts(On RESET)the device to enter low power state. 
*
*
* Interface assumptions:
* None
* 
* The routine limitations.
* None
*
* Return value:
* None
*
* Effects on global data.
* It sets the  mLPMFlag
*
* Source of algorithm used.
* None
*
* Revison history:
*
* date   Author   Comments
* ------ ------   --------
* 030706 USR      Created
*****************************************************************************/ 
void PWR_AllowDeviceToSleep(void);

/*****************************************************************************
* This function is used to  reset the global variable which 
* permits(on SET)/restricts(On RESET)the device to enter low power state. 
*
*
* Interface assumptions:
* None
* 
* The routine limitations.
* None
*
* Return value:
* None
*
* Effects on global data.
* It resets the  mLPMFlag
*
* Source of algorithm used.
* None
*
* Revison history:
*
* date   Author   Comments
* ------ ------   --------
* 030706 USR      Creted
*****************************************************************************/ 
void PWR_DisallowDeviceToSleep(void);

/***********************************************************************************
* This function is used to  Check  the Permission flag to go to 
* low power mode
*
* Interface assumptions:
* None
* 
* The routine limitations.
* None
*
* Return value:
*   TRUE  : If the device is allowed to go to the LPM else FALSE
*
* Effects on global data.
* None
*
* Source of algorithm used.
* None
*
* Revison history:
*
* date   Author   Comments
* ------ ------   --------
* 030706  USR     Created
*****************************************************************************/ 

bool_t PWR_CheckIfDeviceCanGoToSleep( void );

/******************************************************************************
* Description : Will use internal MCU clock, set RADIO in hibernate and then
*               reset it. The MCU IO's are programmed for low power and then
*               MCU are set in STOP3 mode.
* Assumptions : None
* Input       : None
* Output      : FALSE: Hibernate not allowed
*               TRUE : All ok
* Errors      : Not handled
* History     : 20050407  pbbusk1  Created
******************************************************************************/
bool_t PWR_Stop3AndOff(void);
/******************************************************************************
* Description : Will use internal MCU clock, set RADIO in hibernate and then
*               reset it. The MCU are set in STOP1 mode. Only exit if Reset.
* Assumptions : None
* Input       : None
* Output      : FALSE: Hibernate not allowed
*               TRUE : All ok
* Errors      : Not handled
* History     : 20050407  pbbusk1  Created
******************************************************************************/
bool_t PWR_AllOff(void);

/******************************************************************************
* Description : Will restore normal IO, startup RADIO, init MAC/RADIO without
*               destroying PIB setup and then synchronize to RADIO clock.
*               Calls MAC to resync.
* Assumptions : Only to be called after a prior call to PWR_Stop3AndOff()
* Input       : None
* Output      : None
* Errors      : Not handled
* History     : 20050407  pbbusk1  Created
******************************************************************************/
void PWR_RunAgain(void);

/******************************************************************************
* Description : Will check if DeepSleep are allowed by MAC and Stack.
*               DeepSleep are where RADIO is in reset and MCU are in STOP3
* Assumptions : None
* Input       : None
* Output      : TRUE  : Both MAC and Stack allows DeepSleep
*               FALSE : One or more are busy
* Errors      : Not handled
* History     : 20050407  pbbusk1 Created
*               20050530  pbbusk1 Removed application status check
******************************************************************************/
bool_t PWR_DeepSleepAllowed(void);

/******************************************************************************
* Description : Will check if Sleep are allowed by MAC and Stack.
*               Sleep are when system will wake on an interrupt. Typically the
*               RADIO is set in DOZE mode and MCU in WAIT mode.
* Assumptions : None
* Input       : None
* Output      : TRUE  : Success - MAC and Stack both allows sleep
*               FALSE : One or more are busy
* Errors      : Not handled
* History     : 20050407  pbbusk1  Created
*               20050530  pbbusk1 Removed application status check
******************************************************************************/
bool_t  PWR_SleepAllowed(void);

/******************************************************************************
* Description : Will go into a DeepSleep mode. Depending on what was decided on
*               Compile time, other reactions can be chosen (For test)
* Assumptions : None
* Input       : DozeDuration    : The number of RTI ticks (1024msec) to DeepSleep
* Output      : Bit array containing the reason for wakeup - please see the
*               definition in PWRLib.h
* Errors      : Not handled
* History     : 20050407  pbbusk1  Created
******************************************************************************/
PWRLib_WakeupReason_t  PWR_HandleDeepSleep( zbClock24_t  DozeDuration);

/******************************************************************************
* Description : Will go into a Sleep mode. Depending on what was decided on
*               Compile time, other reactions can be chosen (For test).
* Assumptions : None
* Input       : DozeDuration    : The time in Symbols to wait (16usec)
* Output      : Bit array containing the reason for wakeup - please see the
*               definition in PWRLib.h
* Errors      : Not handled
* History     : 20050407  pbbusk1  Created
*             : 20050530  pbbusk1  Using cPWR_SleepMode instead
******************************************************************************/
PWRLib_WakeupReason_t  PWR_HandleSleep( zbClock24_t DozeDuration);

/******************************************************************************
* Description : Will check for new power state to enter.
* Note        : Intended for use in main code.
* Input       : NewPowerState   : The wanted new power state. Can be one of the following:
*                 PWR_Run       : No change will continue to run. Does nothing.
*                 PWR_Sleep     : Will enter a RADIO Doze mode for spec. time.
*                 PWR_DeepSleep : Will Power down RADIO and Stop the MCU.
*                 PWR_Reset     : Force a reset of MCU.
*                 PWR_OFF       : Power down RADIO and MCU completely. Reset to wake.
*               DozeDuration    : The time to sleep. In symbols when PWR_Sleep.
*                                 In times 1024ms when PWR_DeepSleep.
* Output      : Bit array containing the reason for wakeup - please see the
*               definition in PWRLib.h
* Assumptions : None
* Errors      : Not handled
* History     : 20050401  pbbusk1   Created
*               20050504  pbbusk1   Added NewPowerState and return value
******************************************************************************/
PWRLib_WakeupReason_t  PWR_CheckForAndEnterNewPowerState(PWR_CheckForAndEnterNewPowerState_t NewPowerState, zbClock24_t DozeDuration);


/******************************************************************************
* Description : Detection of low voltage.
*               Will call PWRLib_LVD_CollectLevel to get level directly
*               when cPWR_LVD_Enable == 1. When cPWR_LVD_Enable == 2 it just reports
*               last sampled value. When cPWR_LVD_Enable == 0, PWR_NODEPOWER_LEVEL_100
*               is always returned and no collection of level is done
* Assumptions : None
* NOTE        : See the PWRLib_LVD_CollectLevel function for better description
* Inputs      : None
* Output      : PWR_NODEPOWER_LEVEL_CRITICAL..PWR_NODEPOWER_LEVEL_100 : As
*               specified above
* Errors      : Not handled
* History     : 20050525  pbbusk1  Created
******************************************************************************/
PWRLib_LVD_VoltageLevel_t PWRLib_LVD_ReportLevel(void);

/******************************************************************************
* Description : Will initialize the project specific registers and setup for
*               correct function of PWR_CheckForAndEnterNewPowerState() function.
* Assumptions : Intended for use in main code and to be modified for each new
*               project.
* Input       : None
* Output      : None
* Errors      : Not handled
* History     : 20050407  pbbusk1  Created
******************************************************************************/
void PWR_CheckForAndEnterNewPowerState_Init(void);
/******************************************************************************
* Description : This function makes the decision between Light Sleep and 
                Deep Sleep and goes to the sleep mode.
                The function is protected from interrupt.
* Input       : None
* Output      : None
* Errors      : Not handled
* History     : 
******************************************************************************/
 void PWR_EnterLowPower(void);
/*****************************************************************************/
 #endif

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区二区视频| 91丨国产丨九色丨pron| 国产91综合一区在线观看| 欧美变态tickling挠脚心| 久久精品国产99| 久久亚洲影视婷婷| 成人av在线一区二区三区| 久久亚洲影视婷婷| www.欧美色图| 亚洲一线二线三线久久久| 欧美久久久一区| 国产在线国偷精品免费看| 国产亚洲短视频| 色av成人天堂桃色av| 日韩电影一区二区三区四区| 2024国产精品| av在线不卡电影| 图片区小说区区亚洲影院| 精品国产一区二区精华| 97se亚洲国产综合自在线| 天堂成人免费av电影一区| 精品国产91洋老外米糕| 91丨九色丨蝌蚪富婆spa| 裸体歌舞表演一区二区| 国产精品女人毛片| 欧美一级高清大全免费观看| jvid福利写真一区二区三区| 日韩av网站免费在线| 亚洲人成影院在线观看| www欧美成人18+| 日韩女优av电影在线观看| 欧洲亚洲国产日韩| 波多野结衣在线aⅴ中文字幕不卡| 亚洲在线成人精品| 亚洲三级免费观看| 亚洲国产电影在线观看| 欧美大尺度电影在线| 欧美视频在线不卡| 91猫先生在线| 91精品91久久久中77777| 99国产精品久久久久| 激情综合亚洲精品| 久久er精品视频| 久久疯狂做爰流白浆xx| 免费观看91视频大全| 日本美女视频一区二区| 日av在线不卡| 美女网站视频久久| 激情综合一区二区三区| 99久久免费精品| 国产91对白在线观看九色| 国产一区二区三区久久悠悠色av| 六月婷婷色综合| 国产福利一区二区| 99久久久久免费精品国产| 成人午夜免费电影| 91搞黄在线观看| 制服丝袜亚洲精品中文字幕| 欧美挠脚心视频网站| 欧美久久免费观看| 精品国产制服丝袜高跟| 国产精品视频九色porn| 亚洲激情图片一区| 蜜臀久久久久久久| 99视频国产精品| 欧美一级一区二区| 国产精品久久久久一区二区三区共| 亚洲视频精选在线| 日韩国产欧美一区二区三区| 国产高清不卡二三区| 欧美日韩视频专区在线播放| 久久精品一区二区三区不卡牛牛| 国产精品女主播av| 麻豆高清免费国产一区| 色呦呦国产精品| 久久久高清一区二区三区| 亚洲成a人v欧美综合天堂| 不卡的av网站| 久久亚洲私人国产精品va媚药| 综合在线观看色| 国内久久精品视频| 欧美一区二区三区在线观看| 亚洲自拍另类综合| eeuss影院一区二区三区| 2021中文字幕一区亚洲| 美国av一区二区| 3d成人动漫网站| 亚洲成精国产精品女| 欧美亚洲动漫另类| 亚洲精品国产精品乱码不99| 国产一区二区在线看| 一二三区精品视频| 色婷婷综合久久| 亚洲国产欧美在线人成| 欧美综合天天夜夜久久| 亚洲精品乱码久久久久久| 一本到高清视频免费精品| 亚洲欧美怡红院| 91在线观看免费视频| 136国产福利精品导航| 欧美色偷偷大香| 一区二区三区产品免费精品久久75| 91一区二区在线| 丝袜美腿亚洲色图| 国产精品午夜在线观看| 成人久久视频在线观看| 一级日本不卡的影视| 日本一不卡视频| 在线观看91精品国产入口| 日韩激情一区二区| 国产日韩精品视频一区| 日本精品免费观看高清观看| 日韩国产欧美三级| 制服丝袜成人动漫| 国产成人高清视频| 亚洲午夜电影在线观看| 精品国产一区久久| 色综合天天综合狠狠| 狠狠久久亚洲欧美| 亚洲三级理论片| 日韩精品一区在线| 欧美性大战久久久久久久蜜臀 | 国产视频一区二区三区在线观看| 精品无人码麻豆乱码1区2区| 一区二区三区四区激情| 精品福利一区二区三区| 色综合久久综合网97色综合 | 精品视频在线视频| 成人理论电影网| 国产精品亚洲一区二区三区在线| 一级女性全黄久久生活片免费| 亚洲欧洲精品天堂一级| 欧美日韩精品一区二区三区蜜桃| 精品一区二区三区免费毛片爱| 51精品视频一区二区三区| 成人欧美一区二区三区1314| 国产成人av在线影院| 夜夜嗨av一区二区三区网页 | 亚洲精品国产无天堂网2021| jlzzjlzz亚洲女人18| 国产伦理精品不卡| 日韩电影在线观看网站| 亚洲欧美影音先锋| 久久综合久色欧美综合狠狠| 成人高清免费观看| 美女网站一区二区| 精品不卡在线视频| 国产一区二区三区在线观看免费视频 | 97久久超碰国产精品| 麻豆国产91在线播放| 久久电影网站中文字幕| 亚洲男人天堂av| 国产农村妇女精品| 91精品国产一区二区三区香蕉| 国产一区二区三区在线观看免费视频 | 欧美精品一区二区三区久久久| 日韩视频在线一区二区| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 国产91露脸合集magnet | 国产精品资源网| 成人av网址在线| 欧美综合一区二区三区| 欧美一区二区三区在线电影 | 欧美人牲a欧美精品| 日韩一区二区中文字幕| 亚洲国产精品二十页| 中文字幕一区在线| 亚洲成av人片在线| 国产一区啦啦啦在线观看| 91亚洲资源网| 日韩视频在线你懂得| 日本中文字幕一区二区视频| 国产一区二区女| 色就色 综合激情| 精品国产乱码久久久久久蜜臀| 中文字幕第一页久久| 秋霞午夜av一区二区三区 | 亚洲黄色尤物视频| 韩国精品一区二区| 欧美日韩一区二区三区在线| 久久精品一区二区三区不卡牛牛| 亚洲婷婷在线视频| 经典三级在线一区| 777午夜精品免费视频| 亚洲日本在线a| 国产盗摄一区二区| 91麻豆精品国产| 亚洲国产精品人人做人人爽| 成人黄色在线视频| 亚洲国产精品国自产拍av| 精品系列免费在线观看| 91麻豆精品久久久久蜜臀| 亚洲日本在线看| 色综合久久天天| 亚洲另类春色校园小说| jizzjizzjizz欧美| 最近日韩中文字幕| 色老汉一区二区三区| 亚洲蜜臀av乱码久久精品蜜桃| 94-欧美-setu|