📄 drv_delay.h
字号:
#ifndef __drv_delay_h
#define __drv_delay_h
//=================================================================================================
#define DELAY_2X5US 1
#define DELAY_10US 4
#define DELAY_100US 40
#define DELAY_125US 50
#define DELAY_300US 120
#define DELAY_500US 200
#define DELAY_1MS 400
#define DELAY_2MS 800
#define DELAY_3MS 1200
#define DELAY_4MS 1600
#define DELAY_5MS 2000
#define DELAY_6MS 2400
#define DELAY_7MS 2800
#define DELAY_8MS 3200
#define DELAY_9MS 3600
#define DELAY_10MS 4000
#define DELAY_20MS 8000
#define DELAY_30MS 12000
#define DELAY_40MS 16000
#define DELAY_50MS 20000
#define DELAY_60MS 24000
#define DELAY_70MS 28000
#define DELAY_80MS 32000
#define DELAY_90MS 36000
#define DELAY_100MS 40000
//=================================================================================================
extern int delay(unsigned int);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -