main.h
来自「ucos porting source for 8052」· C头文件 代码 · 共 30 行
H
30 行
/*****************************************************************************************\
* *
* File : MAIN.H *
* *
* Description: Definitions that are application-specific. *
* *
* Author : Antonio Fuentes, MSL Valencia, (antonio_fuentes@msl-vlc.com) *
* *
* Date : October, 3, 2001 *
\*****************************************************************************************/
/*****************************************************************************************\
* CONSTANTS *
\*****************************************************************************************/
#define CRYSTAL_FREQ (INT32U)(24000000L)
#define TIME_10mS (OS_TICKS_PER_SEC / 100)
#define TIME_20mS (OS_TICKS_PER_SEC / 50)
#define TIME_50mS (OS_TICKS_PER_SEC / 20)
#define TIME_100mS (OS_TICKS_PER_SEC / 10)
#define TIME_200mS (OS_TICKS_PER_SEC / 5)
#define TIME_500mS (OS_TICKS_PER_SEC / 2)
#define TIME_1S (OS_TICKS_PER_SEC)
#define TIME_2S (OS_TICKS_PER_SEC * 2)
#define TIME_3S (OS_TICKS_PER_SEC * 3)
#define TIME_4S (OS_TICKS_PER_SEC * 4)
#define TIME_5S (OS_TICKS_PER_SEC * 5)
#define TIME_10S (OS_TICKS_PER_SEC * 10)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?