目录
第 1 章、设计任务与目标................................................................................................................3
1.1 设计课题:..........................................................................................................................3
1.2 设计目的:..........................................................................................................................3
1.3 设计任务:..........................................................................................................................3
1.4 基本设计要求:............................................................................................................. 3
第 2 章、总体设计规划与方案论证................................................................................................6
2.1 设计环节及进程安排..........................................................................................................6
2.2 方案论证..............................................................................................................................6
第 3 章、总体软件设计说明及总流程图......................................................................................10
3.1 总体软件设计说明............................................................................................................10
3.2 总流程图............................................................................................................................11
第 4 章、系统资源分配说明..........................................................................................................13
4.1 系统资源分配....................................................................................................................13
4.1.1 系统内部单元分配表.................................................................................................13
4.1.2 硬件资源分配.............................................................................................................15
4.2 数据定义说明....................................................................................................................16
4.2.1 部分数据定义说明.....................................................................................................16
第 5 章、局部程序设计说明..........................................................................................................17
5.1 总初始化以及自检
5.2 主流程
5.2.1 按键音模块................................................................................................................17
5.2 .2 单按键消抖模块.......................................................................................................17
5.2.3 PB 按键功能模块......................................................................................................18
5.2.4. 基本界面拆字模块...................................................................................................19
5.2.5 4*4 矩阵键盘模块.....................................................................................................19
5.2.6 模式显示模块............................................................................................................20
5.2.7 显示更新模块............................................................................................................21
5.2.8 室内温度 AD 转换模块............................................................................................21
5.2.9 4*4 矩阵键盘扫描子程序.......................................................................................21
5.2.10 整点报时模块..........................................................................................................23
5.2.11 空调进程判断及显示模块......................................................................................23
5.2.12 三分钟压缩机保护模块..........................................................................................23
5.2.13 风向摆动模块..........................................................................................................24
5.2.14 驱动控制模块..........................................................................................................24
5.2.15 定时开关机模块......................................................................................................25
第 6 章、系统功能与用户操作使用说明......................................................................................26
6.1 操作显示部分....................................................................................................................26