目 录
1.需求分析..........................................................................................................................................1
1.1 设计目的.......................................................................................................................1
1.2 设计内容.......................................................................................................................1
1.3 设计要求.......................................................................................................................1
2.使用平台说明..................................................................................................................................2
2.1 硬件平台.......................................................................................................................2
2.2 软件平台.......................................................................................................................2
2.3 资源配置.......................................................................................................................2
3.设计原理..........................................................................................................................................2
3.1 各芯片的工作原理...............................................................................................................2
3.1.1 8253............................................................................................................................2
3.1.2 8255A.........................................................................................................................4
3.1.3 Intel 8259A.................................................................................................................6
3.2 音调、频率、时间的关系...................................................................................................6
4.硬件连线设计..................................................................................................................................7
4.1 设计中 8253 的使用.............................................................................................................7
4.2 设计中 8255A 的使用..........................................................................................................8
4.3 设计中 8259A 的使用..........................................................................................................8
4.4 硬件连线...............................................................................................................................8
4.5 硬件调试详述.....................................................................................................................10
5.实现方法........................................................................................................................................12
5.1 程序流程图.........................................................................................................................12
5.2 主要算法描述.....................................................................................................................13
6.执行结果........................................................................................................................................14
6.1 满足中断条件.....................................................................................................................14
6.2 不满足中断条件.................................................................................................................14
7.设计心得与展望............................................................................................................................15
8.主要程序清单................................................................................................................................16
9.参考文献........................................................................................................................................20