📄 wait.h
字号:
/******************************************************************************
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -