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