|
发表于 2007-9-9 15:47:15
|
显示全部楼层
/** \ingroup util_delay
Delay loop using an 8-bit counter \c __count, so up to 256
iterations are possible. (The value 256 would have to be passed
as 0.) The loop executes three CPU cycles per iteration, not
including the overhead the compiler needs to setup the counter
register.
Thus, at a CPU speed of 1 MHz, delays of up to 768 microseconds
can be achieved.
*/
/** \ingroup util_delay
Delay loop using a 16-bit counter \c __count, so up to 65536
iterations are possible. (The value 65536 would have to be
passed as 0.) The loop executes four CPU cycles per iteration,
not including the overhead the compiler requires to setup the
counter register pair.
Thus, at a CPU speed of 1 MHz, delays of up to about 262.1
milliseconds can be achieved.
*/
各位好好看看吧,delay.h文件件里写的明明白白的还研究什么呀?真的搞不懂,如此烂贴怎么搞成“酷”了。
怎么和21IC比呀 |
|