8051-ELL库  beta 1.1.6
8051-ELL library API Document Center
STC8x_DELAY.h 文件参考
#include "ELL_CORE.h"
#include "STC8Ax_REG.h"
STC8x_DELAY.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

宏定义

#define DELAY_COUNT   PER_LIB_PREDELAY_BASE
 这是一个非常关键的宏,主要用于实现延时时间的精度。 默认是11000UL,你可以在这个基础上进行微调。 建议使用一个IO翻转,用延时函数延时,通过示波器抓波形进行校准。 更多...
 

宏定义说明

◆ DELAY_COUNT

#define DELAY_COUNT   PER_LIB_PREDELAY_BASE

这是一个非常关键的宏,主要用于实现延时时间的精度。 默认是11000UL,你可以在这个基础上进行微调。 建议使用一个IO翻转,用延时函数延时,通过示波器抓波形进行校准。

This is a very critical macro, mainly used to achieve the accuracy of the delay time. The default is 11000UL, you can make fine adjustments on this basis. It is recommended to use an IO flip, delay with a delay function in the middle, and use an oscilloscope to capture the waveform for calibration.