REALIZATION OF SOFTWARE PRECISE TIME DELAY UNDER KEIL C
2010
In MCU application system,different precision time delay is used frequently. In different occasions,delay time may be from a few microseconds to several seconds. There is variety of ways to realize delay. In assembly language,it is very easy to realize high precision time delay. But in high-level language,time delay precision is difficult to calculate. The common methods of delay are compared in this article,different instructions under Keil C and assembly are given,the execution time is calculated,and precise calculation is got in order to satisfy the needs of different occasions.
Keywords:
- Correction
- Source
- Cite
- Save
- Machine Reading By IdeaReader
0
References
0
Citations
NaN
KQI