新書推薦:
《
加加美高浩的手部绘画技法 II
》
售價:HK$
89.4
《
卡特里娜(“同一颗星球”丛书)
》
售價:HK$
87.4
《
伟大民族:从路易十五到拿破仑的法国史(方尖碑)
》
售價:HK$
188.2
《
古今“书画同源”论辨——中国书法与中国绘画的关系问题兼中国画笔墨研究
》
售價:HK$
132.2
《
《日本文学史序说》讲演录
》
售價:HK$
72.8
《
无尽的海洋:美国海事探险与大众文化(1815—1860)
》
售價:HK$
99.7
《
治盗之道:清代盗律的古今之辨
》
售價:HK$
122.1
《
甲骨文丛书·剑桥世界暴力史(第一卷):史前和古代世界(套装全2册)
》
售價:HK$
210.6
|
內容簡介: |
本书以STC8H8K64U系列单片机为教学平台,该系列单片机代表当今8位机较高水平,包含高级PWM 定时器、USB 模块及 16 位硬件乘/除法器等高级功能模块。本书基于 STC 大学计划实验箱(8.3)(主控单 片机为 STC8H8K64U 系列单片机),采用“汇编+C”双语言编程,精选工程训练实例,设计多种类型的 习题。本书内容包括单片机基础,对 STC8H8K64U 系列单片机的增强型 8051 内核、应用系统的开发工具、 指令系统、汇编及 C 双语言程序设计、存储器与应用编程、定时/计数器、中断系统、串行通信端口、人 机对话接口的应用设计、12 位 A/D 转换模块、比较器、SPI 接口、I2C 通信接口、高级 PWM 定时器、USB 模块、16 位乘/除法器的介绍,以及应用其进行低功耗设计与可靠性设计的介绍。 本书可作为高等学校电子信息类、电子通信类、自动化类、计算机应用类专业“单片机原理与应用” 或“微机原理”课程教材,也可作为电子设计竞赛、单片机应用工程师考证的培训教材,还可作为传统 8051 单片机应用工程师升级转型的参考书。
|
關於作者: |
丁向荣,男,广东轻工职业技术学院教授,电子信息类专业教学骨干,长期从事单片机方面的教学实践和教科研工作,具备丰富的相关经验,其对STC单片机的理解尤为深入,曾编写并出版过多本相关教材,获得市场广泛认可。
|
目錄:
|
目 录 第 1 章 认识单片机 ······················································································.1 1.1 单片机概述 ······················································································.1 1.1.1 微型计算机的工作原理 ······························································.1 1.1.2 单片机 ····················································································.5 1.2 STC8H 系列单片机简介 ······································································.6 1.2.1 STC 系列单片机概述 ·································································.6 1.2.2 STC8H 系列单片机 ····································································.7 1.2.3 STC8H8K64U 系列单片机 ···························································.8 本章小结 ·······························································································.18 习题 ·····································································································.19 第 2 章 增强型 8051 内核 ·············································································.21 2.1 CPU 结构 ·······················································································.21 2.2 存储结构 ························································································.22 2.3 并行I/O 口 ·····················································································.28 2.3.1 并行I/O 口的工作模式 ······························································.28 2.3.2 内部上拉电阻的设置·································································.31 2.3.3 施密特触发器的设置·································································.31 2.3.4 电平转换速度的设置·································································.32 2.3.5 电流驱动能力的设置·································································.32 2.3.6 数字信号输入使能的设置 ··························································.32 2.4 时钟与复位 ·····················································································.32 2.4.1 时钟 ······················································································.32 2.4.2 复位 ······················································································.36 本章小结 ·······························································································.38 习题 ·····································································································.39 第 3 章 应用系统的开发工具 ·········································································.42 3.1 Keil ?Vision4 集成开发环境——单片机应用程序的编辑、编译与调试流程 ····.42 3.2 在线编程与在线仿真 ·········································································.50 3.2.1 在线可编程电路 ·······································································.50 3.2.2 单片机应用程序的下载与运行 ····················································.51 3.2.3 Keil ?Vision4 集成开发环境与 STC 仿真器的在线仿真 ······················.53 3.2.4 STC-ISP 在线编程软件的其他功能 ···············································.54 3.3 仿真软件 Proteus ··············································································.55 3.4 工程训练 ························································································.55 3.4.1 Keil ?Vision4 集成开发环境的操作使用 ·········································.55 3.4.2 STC8H8K64U 系列单片机的在线调试与在线仿真 ····························.62 3.4.3 Proteus 单片机应用系统的仿真 ····················································.66 本章小结 ·······························································································.72 习题 ·····································································································.72 第 4 章 指令系统与汇编语言程序设计 ·····························································.75 4.1 指令系统 ························································································.75 4.1.1 概述 ······················································································.75 4.1.2 数据传送类指令 ·······································································.81 4.1.3 算术运算类指令 ·······································································.86 4.1.4 逻辑运算与循环移位类指令 ·······················································.91 4.1.5 控制转移类指令 ························································
|
|