drv_delay.h
来自「该模板使用于周立功公司研发的EasyARM2100系列开发板」· C头文件 代码 · 共 44 行
H
44 行
#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 + =
减小字号Ctrl + -
显示快捷键?