文件名称:8253clock
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.19kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本实验利用8253做定时器,用定时器输出的脉冲控制8259产生中断
在8259中断处理程序中,对时、分、秒进行计数,在等待中断的循
环中用LED显示时间。
8253用定时器/计数器1,8253片选接CS4,地址为0C000H。8253时钟
源CLK1接分频电路的F/64输出。分频器的Fin接4MHz时钟。8253的
GATE1接VCC。
8259中断INT0接8253的OUT1,片选接CS5,地址为0D000H。
显示电路的KEY/LED CS 接CS0,地址为08000H。-In this study, the use of 8253 to do the timer, using timer pulse output control 8259 generates an interrupt in 8259 interrupt handler, for hours, minutes and seconds count, waiting for interruption through ring using LED display time. 8253 with the timer/counter 1,8253 chip select access CS4, address 0C000H. 8253 clock source CLK1 of the F/64 then divider circuit output. Fin then 4MHz clock divider. 8253' s GATE1 then VCC. 8259 interrupt INT0 then 8253' s OUT1, chip select access CS5, address 0D000H. Display circuit of the KEY/LED CS access CS0, address 08000H.
在8259中断处理程序中,对时、分、秒进行计数,在等待中断的循
环中用LED显示时间。
8253用定时器/计数器1,8253片选接CS4,地址为0C000H。8253时钟
源CLK1接分频电路的F/64输出。分频器的Fin接4MHz时钟。8253的
GATE1接VCC。
8259中断INT0接8253的OUT1,片选接CS5,地址为0D000H。
显示电路的KEY/LED CS 接CS0,地址为08000H。-In this study, the use of 8253 to do the timer, using timer pulse output control 8259 generates an interrupt in 8259 interrupt handler, for hours, minutes and seconds count, waiting for interruption through ring using LED display time. 8253 with the timer/counter 1,8253 chip select access CS4, address 0C000H. 8253 clock source CLK1 of the F/64 then divider circuit output. Fin then 4MHz clock divider. 8253' s GATE1 then VCC. 8259 interrupt INT0 then 8253' s OUT1, chip select access CS5, address 0D000H. Display circuit of the KEY/LED CS access CS0, address 08000H.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
8253clock.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.