hal_sleep.h
来自「Zigbee2006入门(源代码+文档讲解+系统推荐)」· C头文件 代码 · 共 53 行
H
53 行
#ifndef HAL_SLEEP_H
#define HAL_SLEEP_H
/*********************************************************************
Filename: hal_sleep.h
Revised: $Date: 2006-12-12 16:09:14 -0800 (Tue, 12 Dec 2006) $
Revision: $Revision: 13088 $
Description:
This file contains the interface to the power management service.
Notes:
Copyright (c) 2006 by Texas Instruments, Inc.
All Rights Reserved. Permission to use, reproduce, copy, prepare
derivative works, modify, distribute, perform, display or sell this
software and/or its documentation for any purpose is prohibited
without the express written consent of Texas Instruments, Inc.
*********************************************************************/
#ifdef __cplusplus
extern "C"
{
#endif
/*********************************************************************
* FUNCTIONS
*/
/*
* Execute power management procedure
*/
extern void halSleep( uint16 osal_timer );
/*
* Used in mac_mcu
*/
extern void halSleepWait(uint16 duration);
/*
* Used in hal_drivers, AN044 - DELAY EXTERNAL INTERRUPTS
*/
extern void halRestoreSleepLevel( void );
/*********************************************************************
*********************************************************************/
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?