急求!!!英文翻译,请各位帮忙,把下面一段话翻译成英文.

来源:百度知道 编辑:UC知道 时间:2024/06/04 03:24:16
所谓时钟计时,就是以秒,分,时为单位进行的计时,广泛应用于日常生活。本设计采用六位LED数码管显示时、分、秒,以24小时计时方式计时。使用80C51的定时器/计数器来实现时钟计数功能。时钟计时的关键问题是秒的产生,因为秒是最小的时钟单位,但使用80C51的定时器/计数器进行定时,即按工作方式1,其最大定时时间也只能达到131ms,离1秒还差很远。因此,把秒计时用硬件定时和软件计数相结合的方法实现,如把定时器是定时设为125ms,这样计数溢出8次就可以得到1s,而8次计数可以用软件方法实现。这个采用中断方式,即通过中断服务程序进行计数器溢出次数的累计,计满8次即得到秒计时。然后通过在程序中的数值累加和数值比较来实现从秒到分和从时的计时。即满60就分别对秒分计数单元加1,未满则继续计数。本设计还设置显示缓冲区,时间在6位LED显示器上显示时,分,秒,各占两位,因此在内部RAM中设置6个单元的显示缓冲区,从左向右依次存放时,分,秒的数值。

The so-called clock time, in seconds, minutes, when the time for the units, widely used in daily life. This design uses six LED digital display of the hours, minutes and seconds to 24-hour time means time. 80 C51 use the timer / counter to achieve clock counting function. Clock time is the key issue of a second, because the second is the smallest unit of the clock, but the use of 80 C51 timer / counter for timing, that is, by working methods 1, the largest of its regular time can only reach 131 ms, worse from one second Very far away. Therefore, the second time with regular hardware and software integration of the counting method, such as the timing of the timer is set to 125 ms, this overflow eight counts can be 1 s, and eight counts can use the software method. The use of interruption, that is interrupted by service procedures counter the cumulative number of overflow, or get full eight seconds time. Then through the process of accumulation and numerical value compared to achieve