wait.h

来自「zigbee相关软件」· C头文件 代码 · 共 60 行

H
60
字号
/******************************************************************************
 * wait.h
 *
 * Copyright 1994-2006 HolyStone Technology Co.,Ltd.
 *
 * DESCRIPTION: CC1100-2500 Interface Code Library v1.0
 *
 * modification history
 * --------------------
 * 01a, 23mar2007, cuiqingwei written
 * --------------------
 ******************************************************************************/

#ifndef _WAIT_H
#define _WAIT_H

//-----------------------------------------------------------------------------
// EXTERN FUNCTIONS
//-----------------------------------------------------------------------------
/******************************************************************************
* @fn  Wait
*
* @brief
*      This function waits approximately a given number of m-seconds
*      regardless of main clock speed.
*
* Parameters:
*
* @param  byte	 wait
*         The number of m-seconds to wait.
*
* @return void
*
******************************************************************************/

extern void halWait(byte wait);

/******************************************************************************
 * @fn      Reset
 *
 * @brief   Do a cc2430 reset by causing a watchdog timeout.
 *
 * @param   none
 *
 * @return  none
 *
 ******************************************************************************/
 
extern void Reset(void);

#endif  /* _WAIT_H */

/*------------------------------------------------------------------------------
                                        0ooo
						      ooo0     (   )
                              (   )     ) /
						       \ (     (_/
	    				        \_)        By:cuiqingwei [gary]
------------------------------------------------------------------------------*/

⌨️ 快捷键说明

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