




已阅读5页,还剩7页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
中 北 大 学 2013 届 英 文 文 献 及 外 文 翻 译单 片 机单 片 机 也 被 称 为 微 控 制 器 ( Microcontroller Unit) , 常 用 英 文 字 母 的 缩 写MCU 表 示 单 片 机 , 它 最 早 是 被 用 在 工 业 控 制 领 域 。 单 片 机 由 芯 片 内 仅 有CPU 的 专 用 处 理 器 发 展 而 来 。 最 早 的 设 计 理 念 是 通 过 将 大 量 外 围 设 备 和 CPU集 成 在 一 个 芯 片 中 , 使 计 算 机 系 统 更 小 , 更 容 易 集 成 进 复 杂 的 而 对 体 积 要 求 严格 的 控 制 设 备 当 中 。 INTEL 的 Z80 是 最 早 按 照 这 种 思 想 设 计 出 的 处 理 器 , 从此 以 后 , 单 片 机 和 专 用 处 理 器 的 发 展 便 分 道 扬 镳 。 单 片 机 比 专 用 处 理 器 更 适 合 应 用 于 嵌 入 式 系 统 , 因 此 它 得 到 了 最 多 的 应用 。 事 实 上 单 片 机 是 世 界 上 数 量 最 多 的 计 算 机 。 现 代 人 类 生 活 中 所 用 的 几 乎每 件 电 子 和 机 械 产 品 中 都 会 集 成 有 单 片 机 。 手 机 、 电 话 、 计 算 器 、 家 用 电 器 、电 子 玩 具 、 掌 上 电 脑 以 及 鼠 标 等 电 脑 配 件 中 都 配 有 1-2 部 单 片 机 。 而 个 人 电脑 中 也 会 有 为 数 不 少 的 单 片 机 在 工 作 。 汽 车 上 一 般 配 备 40 多 部 单 片 机 , 复 杂的 工 业 控 制 系 统 上 甚 至 可 能 有 数 百 台 单 片 机 在 同 时 工 作 ! 单 片 机 的 数 量 不 仅 远超 过 PC 机 和 其 他 计 算 的 总 和 , 甚 至 比 人 类 的 数 量 还 要 多 。 单 片 机 又 称 单 片 微 控 制 器 ,它 不 是 完 成 某 一 个 逻 辑 功 能 的 芯 片 ,而 是 把 一 个计 算 机 系 统 集 成 到 一 个 芯 片 上 。 相 当 于 一 个 微 型 的 计 算 机 , 和 计 算 机 相 比 , 单片 机 只 缺 少 了 I/O 设 备 。 概 括 的 讲 : 一 块 芯 片 就 成 了 一 台 计 算 机 。 它 的 体 积 小 、质 量 轻 、 价 格 便 宜 、 为 学 习 、 应 用 和 开 发 提 供 了 便 利 条 件 。 同 时 , 学 习 使 用 单片 机 是 了 解 计 算 机 原 理 与 结 构 的 最 佳 选 择 。 单 片 机 芯 片单 片 机 是 靠 程 序 运 行 的 , 并 且 可 以 修 改 。 通 过 不 同 的 程 序 实 现 不 同 的 功能 , 尤 其 是 特 殊 的 独 特 的 一 些 功 能 , 这 是 别 的 器 件 需 要 费 很 大 力 气 才 能 做 到 的 ,有 些 则 是 花 大 力 气 也 很 难 做 到 的 。 一 个 不 是 很 复 杂 的 功 能 要 是 用 美 国 50 年 代开 发 的 74 系 列 , 或 者 60 年 代 的 CD4000 系 列 这 些 纯 硬 件 来 搞 定 的 话 , 电 路 一定 是 一 块 大 PCB 板 ! 但 是 如 果 要 是 用 美 国 70 年 代 成 功 投 放 市 场 的 系 列 单 片 机 ,中 北 大 学 2013 届 英 文 文 献 及 外 文 翻 译结 果 就 会 有 天 壤 之 别 ! 只 因 为 单 片 机 的 通 过 你 编 写 的 程 序 可 以 实 现 高 智 能 , 高效 率 , 以 及 高 可 靠 性 !由 于 单 片 机 对 成 本 是 敏 感 的 , 所 以 目 前 占 统 治 地 位 的 软 件 还 是 最 低 级 汇编 语 言 , 它 是 除 了 二 进 制 机 器 码 以 上 最 低 级 的 语 言 了 , 既 然 这 么 低 级 为 什 么 还要 用 呢 ? 很 多 高 级 的 语 言 已 经 达 到 了 可 视 化 编 程 的 水 平 为 什 么 不 用 呢 ? 原 因 很简 单 , 就 是 单 片 机 没 有 家 用 计 算 机 那 样 的 CPU, 也 没 有 像 硬 盘 那 样 的 海 量 存储 设 备 。 一 个 可 视 化 高 级 语 言 编 写 的 小 程 序 里 面 即 使 只 有 一 个 按 钮 , 也 会 达 到几 十 K 的 尺 寸 ! 对 于 家 用 PC 的 硬 盘 来 讲 没 什 么 , 可 是 对 于 单 片 机 来 讲 是 不 能接 受 的 。 单 片 机 在 硬 件 资 源 方 面 的 利 用 率 必 须 很 高 才 行 , 所 以 汇 编 虽 然 原 始却 还 是 在 大 量 使 用 。 一 样 的 道 理 , 如 果 把 巨 型 计 算 机 上 的 操 作 系 统 和 应 用 软 件拿 到 家 用 PC 上 来 运 行 , 家 用 PC 的 也 是 承 受 不 了 的 。 单 片 机 的 应 用 领 域单 片 机 广 泛 应 用 于 仪 器 仪 表 、 家 用 电 器 、 医 用 设 备 、 航 空 航 天 、 专 用 设 备的 智 能 化 管 理 及 过 程 控 制 等 领 域 , 大 致 可 分 如 下 几 个 范 畴 : 1.在 智 能 仪 器 仪 表 上 的 应 用 单 片 机 具 有 体 积 小 、 功 耗 低 、 控 制 功 能 强 、 扩 展 灵 活 、 微 型 化 和 使 用 方 便等 优 点 , 广 泛 应 用 于 仪 器 仪 表 中 , 结 合 不 同 类 型 的 传 感 器 , 可 实 现 诸 如 电 压 、功 率 、 频 率 、 湿 度 、 温 度 、 流 量 、 速 度 、 厚 度 、 角 度 、 长 度 、 硬 度 、 元 素 、 压力 等 物 理 量 的 测 量 。 采 用 单 片 机 控 制 使 得 仪 器 仪 表 数 字 化 、 智 能 化 、 微 型 化 ,且 功 能 比 起 采 用 电 子 或 数 字 电 路 更 加 强 大 。 例 如 精 密 的 测 量 设 备 ( 功 率 计 ,示 波 器 , 各 种 分 析 仪 ) 。 2.在 工 业 控 制 中 的 应 用 用 单 片 机 可 以 构 成 形 式 多 样 的 控 制 系 统 、 数 据 采 集 系 统 。 例 如 工 厂 流 水 线的 智 能 化 管 3.在 家 用 电 器 中 的 应 用 中 北 大 学 2013 届 英 文 文 献 及 外 文 翻 译可 以 这 样 说 , 现 在 的 家 用 电 器 基 本 上 都 采 用 了 单 片 机 控 制 , 从 电 饭 褒 、 洗衣 机 、 电 冰 箱 、 空 调 机 、 彩 电 、 其 他 音 响 视 频 器 材 、 再 到 电 子 秤 量 设 备 , 五花 八 门 , 无 所 不 在 。 4.在 计 算 机 网 络 和 通 信 领 域 中 的 应 用 现 代 的 单 片 机 普 遍 具 备 通 信 接 口 , 可 以 很 方 便 地 与 计 算 机 进 行 数 据 通 信 ,为 在 计 算 机 网 络 和 通 信 设 备 间 的 应 用 提 供 了 极 好 的 物 质 条 件 , 现 在 的 通 信 设 备基 本 上 都 实 现 了 单 片 机 智 能 控 制 , 从 手 机 , 电 话 机 、 小 型 程 控 交 换 机 、 楼 宇自 动 通 信 呼 叫 系 统 、 列 车 无 线 通 信 、 再 到 日 常 工 作 中 随 处 可 见 的 移 动 电 话 , 集群 移 动 通 信 , 无 线 电 对 讲 机 等 。 5.单 片 机 在 医 用 设 备 领 域 中 的 应 用 单 片 机 在 医 用 设 备 中 的 用 途 亦 相 当 广 泛 , 例 如 医 用 呼 吸 机 , 各 种 分 析 仪 ,监 护 仪 , 超 声 诊 断 设 备 及 病 床 呼 叫 系 统 等 等 。 6.在 各 种 大 型 电 器 中 的 模 块 化 应 用 某 些 专 用 单 片 机 设 计 用 于 实 现 特 定 功 能 , 从 而 在 各 种 电 路 中 进 行 模 块 化 应用 , 而 不 要 求 使 用 人 员 了 解 其 内 部 结 构 。 如 音 乐 集 成 单 片 机 , 看 似 简 单 的 功 能 ,微 缩 在 纯 电 子 芯 片 中 ( 有 别 于 磁 带 机 的 原 理 ) , 就 需 要 复 杂 的 类 似 于 计 算 机 的原 理 。 如 : 音 乐 信 号 以 数 字 的 形 式 存 于 存 储 器 中 ( 类 似 于 ROM) , 由 微 控 制器 读 出 , 转 化 为 模 拟 音 乐 电 信 号 ( 类 似 于 声 卡 ) 。 在 大 型 电 路 中 , 这 种 模 块 化 应 用 极 大 地 缩 小 了 体 积 , 简 化 了 电 路 , 降 低 了损 坏 、 错 误 率 , 也 方 便 于 更 换 。 7.单 片 机 在 汽 车 设 备 领 域 中 的 应 用 单 片 机 在 汽 车 电 子 中 的 应 用 非 常 广 泛 , 例 如 汽 车 中 的 发 动 机 控 制 器 , 基 于CAN 总 线 的 汽 车 发 动 机 智 能 电 子 控 制 器 , GPS 导 航 系 统 , abs 防 抱 死 系 统 ,制 动 系 统 等 等 。 此 外 , 单 片 机 在 工 商 , 金 融 , 科 研 、 教 育 , 国 防 航 空 航 天 等 领 域 都 有 着 十分 广 泛 的 用 途 。 中 北 大 学 2013 届 英 文 文 献 及 外 文 翻 译学 习 应 用 六 大 重 要 部 分单 片 机 学 习 应 用 的 六 大 重 要 部 分 一 、 总 线 :我 们 知 道 , 一 个 电 路 总 是 由 元 器 件 通 过 电 线 连 接 而 成 的 , 在 模 拟 电 路 中 ,连 线 并 不 成 为 一 个 问 题 , 因 为 各 器 件 间 一 般 是 串 行 关 系 , 各 器 件 之 间 的 连 线 并不 很 多 , 但 计 算 机 电 路 却 不 一 样 , 它 是 以 微 处 理 器 为 核 心 , 各 器 件 都 要 与 微处 理 器 相 连 , 各 器 件 之 间 的 工 作 必 须 相 互 协 调 , 所 以 需 要 的 连 线 就 很 多 了 , 如果 仍 如 同 模 拟 电 路 一 样 , 在 各 微 处 理 器 和 各 器 件 间 单 独 连 线 , 则 线 的 数 量 将 多得 惊 人 , 所 以 在 微 处 理 机 中 引 入 了 总 线 的 概 念 , 各 个 器 件 共 同 享 用 连 线 , 所 有器 件 的 8 根 数 据 线 全 部 接 到 8 根 公 用 的 线 上 , 即 相 当 于 各 个 器 件 并 联 起 来 , 但仅 这 样 还 不 行 , 如 果 有 两 个 器 件 同 时 送 出 数 据 , 一 个 为 0, 一 个 为 1, 那 么 ,接 收 方 接 收 到 的 究 竟 是 什 么 呢 ? 这 种 情 况 是 不 允 许 的 , 所 以 要 通 过 控 制 线 进 行控 制 , 使 器 件 分 时 工 作 , 任 何 时 候 只 能 有 一 个 器 件 发 送 数 据 ( 可 以 有 多 个 器 件同 时 接 收 ) 。 器 件 的 数 据 线 也 就 被 称 为 数 据 总 线 , 器 件 所 有 的 控 制 线 被 称 为 控制 总 线 。 在 单 片 机 内 部 或 者 外 部 存 储 器 及 其 它 器 件 中 有 存 储 单 元 , 这 些 存 储 单元 要 被 分 配 地 址 , 才 能 使 用 , 分 配 地 址 当 然 也 是 以 电 信 号 的 形 式 给 出 的 , 由 于存 储 单 元 比 较 多 , 所 以 , 用 于 地 址 分 配 的 线 也 较 多 , 这 些 线 被 称 为 地 址 总 线 。 二 、 数 据 、 地 址 、 指 令 :之 所 以 将 这 三 者 放 在 一 起 , 是 因 为 这 三 者 的 本 质 都 是 一 样 的 数 字 ,或 者 说 都 是 一 串 0和 1组 成 的 序 列 。 换 言 之 , 地 址 、 指 令 也 都 是 数 据 。 指 令 :由 单 片 机 芯 片 的 设 计 者 规 定 的 一 种 数 字 , 它 与 我 们 常 用 的 指 令 助 记 符 有 着 严 格的 一 一 对 应 关 系 , 不 可 以 由 单 片 机 的 开 发 者 更 改 。 地 址 : 是 寻 找 单 片 机 内 部 、外 部 的 存 储 单 元 、 输 入 输 出 口 的 依 据 , 内 部 单 元 的 地 址 值 已 由 芯 片 设 计 者 规 定中 北 大 学 2013 届 英 文 文 献 及 外 文 翻 译好 , 不 可 更 改 , 外 部 的 单 元 可 以 由 单 片 机 开 发 者 自 行 决 定 , 但 有 一 些 地 址 单 元是 一 定 要 有 的 ( 详 见 程 序 的 执 行 过 程 ) 。 三 、 P0 口 、 P2 口 和 P3 的 第 二 功 能 用 法 :初 学 时 往 往 对 P0 口 、 P2 口 和 P3 口 的 第 二 功 能 用 法 迷 惑 不 解 , 认 为 第 二功 能 和 原 功 能 之 间 要 有 一 个 切 换 的 过 程 , 或 者 说 要 有 一 条 指 令 , 事 实 上 , 各 端口 的 第 二 功 能 完 全 是 自 动 的 , 不 需 要 用 指 令 来 转 换 。 如 P3.6、 P3.7 分 别 是WR、 RD 信 号 , 当 微 片 理 机 外 接 RAM 或 有 外 部 I/O 口 时 , 它 们 被 用 作 第 二 功能 , 不 能 作 为 通 用 I/O 口 使 用 , 只 要 一 微 处 理 机 一 执 行 到 MOVX 指 令 , 就 会有 相 应 的 信 号 从 P3.6 或 P3.7 送 出 , 不 需 要 事 先 用 指 令 说 明 。 事 实 上 不 能 作为 通 用 I/O 口 使 用 也 并 不 是 不 能 而 是 ( 使 用 者 ) 不 会 将 其 作 为 通 用 I/O 口使 用 。 你 完 全 可 以 在 指 令 中 按 排 一 条 SETB P3.7 的 指 令 , 并 且 当 单 片 机 执 行到 这 条 指 令 时 , 也 会 使 P3.7 变 为 高 电 平 , 但 使 用 者 不 会 这 么 去 做 , 因 为 这 通常 会 导 致 系 统 的 崩 溃 。四 、 程 序 的 执 行 过 程 :单 片 机 在 通 电 复 位 后 8051 内 的 程 序 计 数 器 ( PC) 中 的 值 为 0000, 所 以程 序 总 是 从 0000单 元 开 始 执 行 , 也 就 是 说 : 在 系 统 的 ROM 中 一 定 要 存 在0000这 个 单 元 , 并 且 在 0000单 元 中 存 放 的 一 定 是 一 条 指 令 。 五 、 堆 栈 :堆 栈 是 一 个 区 域 , 是 用 来 存 放 数 据 的 , 这 个 区 域 本 身 没 有 任 何 特 殊 之 处 ,就 是 内 部 RAM 的 一 部 份 , 特 殊 的 是 它 存 放 和 取 用 数 据 的 方 式 , 即 所 谓 的 先进 后 出 , 后 进 先 出 , 并 且 堆 栈 有 特 殊 的 数 据 传 输 指 令 , 即 PUSH和 POP,有 一 个 特 殊 的 专 为 其 服 务 的 单 元 , 即 堆 栈 指 针 SP, 每 当 执 一 次 PUSH 指 令 时 ,SP 就 ( 在 原 来 值 的 基 础 上 ) 自 动 加 1, 每 当 执 行 一 次 POP 指 令 , SP 就 ( 在中 北 大 学 2013 届 英 文 文 献 及 外 文 翻 译原 来 值 的 基 础 上 ) 自 动 减 1。 由 于 SP 中 的 值 可 以 用 指 令 加 以 改 变 , 所 以 只 要在 程 序 开 始 阶 段 更 改 了 SP 的 值 , 就 可 以 把 堆 栈 设 置 在 规 定 的 内 存 单 元 中 , 如在 程 序 开 始 时 , 用 一 条 MOV SP, #5FH 指 令 , 就 时 把 堆 栈 设 置 在 从 内 存 单 元60H 开 始 的 单 元 中 。 一 般 程 序 的 开 头 总 有 这 么 一 条 设 置 堆 栈 指 针 的 指 令 , 因 为开 机 时 , SP 的 初 始 值 为 07H, 这 样 就 使 堆 栈 从 08H 单 元 开 始 往 后 , 而 08H到 1FH 这 个 区 域 正 是 8031 的 第 二 、 三 、 四 工 作 寄 存 器 区 , 经 常 要 被 使 用 , 这会 造 成 数 据 的 混 乱 。 不 同 作 者 编 写 程 序 时 , 初 始 化 堆 栈 指 令 也 不 完 全 相 同 , 这是 作 者 的 习 惯 问 题 。 当 设 置 好 堆 栈 区 后 , 并 不 意 味 着 该 区 域 成 为 一 种 专 用 内 存 ,它 还 是 可 以 象 普 通 内 存 区 域 一 样 使 用 , 只 是 一 般 情 况 下 编 程 者 不 会 把 它 当 成 普通 内 存 用 了 。SCM is also known as micro-controller (Microcontroller Unit), commonly used letters of the acronym MCU that it was first used in industrial control.Only a single chip by the CPU chip developed from a dedicated processor. The first design is by a large number of peripherals and CPU on a chip in the computer system, smaller, more easily integrated into a complex and demanding on the volume control device which. INTELsZ80 is the first designed in accordance with this idea processor, then on the development of microcontroller and dedicated processors have parted ways.SCM is more suitable than the specific processor used in embedded systems, 中 北 大 学 2013 届 英 文 文 献 及 外 文 翻 译so it was up to the application. In fact the number of SCM is the worlds largest computer. Modern human life used in almost every piece of electronic and mechanical products will be integrated single chip.Phone, telephone, calculator, home appliances, electronic toys, handheld computers and computer accessories such as a mouse with a 1-2 in both the Department of SCM. Personal computer will have a large number of SCM in the work. General car with more than 40 SCM, complex industrial control systems may even have hundreds of SCM in the same time work! SCM is not only far exceeds the number of PC and other computing the sum, or even more than the number of human beingsSingle chip, also known as single-chip microcontroller, it is not complete a certain logic chips, but to a computer system integrated into a chip.Equivalent to a micro-computer, and computer than just the lack of a microcontroller I / O devices. General talk: a chip becomes a computer. Its small size, light weight, cheap, for the study, application and development of facilities provided. At the same time, learning to use the MCU is to understand the principle and structure of the computer the best choice.Single chipMCU is through running, and can be modified. Through different procedures to achieve different functions, in particular special unique features, this is another device much effort needs to be done, some great efforts are very difficult to do. A not very complex functions if the 50s with the United States developed 74 series, or the 60s CD4000 series of these pure hardware buttoned, then the circuit must be a large PCB board! But if the United States if the 70s with a series of successful SCM market, the result will be a drastic change! Just because you are prepared by microcomputer programs can achieve high intelligence, high efficiency and high reliability!As the microcontroller on the cost-sensitive, so now the dominant software or the lowest level assembly language, which is the lowest level in addition to more than binary machine code language, and as so low why is the use? Many high-中 北 大 学 2013 届 英 文 文 献 及 外 文 翻 译level language has reached the level of visual programming Why is not it? The reason is simply that there is no home computer as a single chip CPU, not as hard as a mass storage device.A visualization of small high-level language program which even if only one button, will reach tens of K of size! For the home PCs hard drive in terms of nothing, but in terms of the MCU is not acceptable. SCM in the utilization of hardware resources to be very high for the job so although the original is still in the compilation of a lot of use. The same token, if the giant computer operating system and applications run up to get home PC, home PC, also can not afford to.MCU applicationsSCM is widely used in instruments and meters, household appliances, medical equipment, aerospace, specialized equipment, intelligent management and process control fields, roughly divided into the following several areas:1. In the application of Intelligent InstrumentsSCM has a small size, low power consumption, controlling function, expansion flexibility, the advantages of miniaturization and ease of use, widely used instrument, combining different types of sensors can be realized Zhuru voltage, power, frequency, humidity, temperature, flow, speed, thickness, angle, length, hardness, elemental, physical pressure measurement. SCM makes use of digital instruments, intelligence, miniaturization, and functionality than electronic or digital circuits more powerful. Such as precision measuring equipment (power meter, oscilloscope, various analytical instrument).2. In the industrial control applicationWith the MCU can constitute a variety of control systems, data acquisition system. Such as factory assembly line of intelligent control3. In Household Appliancescan be said that the appliances are basically using SCM, praise from the electric rice, washing machines, refrigerators, air conditioners, color TV, and other audio video equipment, to the electronic weighing equipment, varied, and 中 北 大 学 2013 届 英 文 文 献 及 外 文 翻 译omnipresent. 4. In the field of computer networks and communications applications MCU general with modern communication interface, can be easy with the computer data communication, networking and communications in computer applications between devices had excellent material conditions, are basically all communication equipment to achieve a controlled by MCU from mobile phone, telephone, mini-program-controlled switchboards, building automated communications call system, train radio communication, to the daily work can be seen everywhere in the mobile phones, trunked mobile radio, walkie-talkies, etc.5. Microcomputer in the field of medical device applicationsSCM in the use of medical devices is also quite extensive, such as medical respirator, the various analyzers, monitors, ultrasound diagnostic equipment and hospital beds, etc. call system. 6. In a variety of major appliances in the modular applications Designed to achieve some special single specific function to be modular in a variety of circuit applications, without requiring the use of personnel to understand its internal structure. If music integrated single chip, seemingly simple function, miniature electronic chip in the net (the principle is different from the tape machine), you need a computer similar to the principle of the complex. Such as: music signal to digital form stored in memory (like ROM), read by the microcontroller, analog music into electrical signals (similar to the sound card). In large circuits, modular applications that greatly reduce the volume, simplifies the circuit and reduce the damage, error rate, but also easy to replace. 7. Microcontroller in the application field of automotive equipment SCM in automotive electronics is widely used, such as a vehicle engine controller, CAN bus-based Intelligent Electronic Control Engine, GPS navigation system, abs anti-lock braking system, brake system, etc. In addition, the MCU in business, finance, research, education, national defense, aerospace and other fields has a very wide range of applications.中 北 大 学 2013 届 英 文 文 献 及 外 文 翻 译Application of six important part of learningMCU learning an important part of the six applications First, Bus: We know that a circuit is always made by the devices connected by wires, in analog circuits, the connection does not become a problem because the device is a serial relationship between the general, the device is not much connection between the , but the computer is not the same circuit, it is a microprocessor core, the device must be connected with the microprocessor, the device must be coordination between, so they need to connect on a lot, as if still analog circuit like the microprocessor and devices in the connection between the individual, the number of lines will be a little more surprising, therefore the introduction of the microprocessor bus Zhong Each device Gongtong access connections, all devices 8 Shuju line all received eight public online, that is the equivalent of all devices together in parallel, but only this does not work, if there are two devices send data at the same time, a 0, a 1, then, whether the receiver received what is it? This situation is not allowed, so to be controlled by controlling the line, time-sharing the device to work at any time only one device to send data (which can have multiple devices to receive both). Devices data connection is known as the data bus, the device is called line of control all the control bus. Internal or external memory in the microcontroller and other devices have memory cells, the memory cell to be assigned addresses, you can use, distribution, of course, to address given in the form of electrical signals, and as more memory cells, so, for the address allocation The line is also more of these lines is called the address bus.Second, data, address, command:The reason why these three together because of the nature of these three are the same - the number, or are a string of 0 and 1 form the sequence. In other words, addresses, instructions are also data. Instruction: from single chip designer provides a number of commonly used instructions with mnemonic we have a strict correspondence between the developer can not be changed by the MCU. Address: 中 北 大 学 2013 届 英 文 文 献 及 外 文 翻 译the search for MCU internal, external storage units, input and output port based on the address of the internal unit value provided by the chip designer is good, can not be changed, the external unit can be single chip developers to decide, but there are a number of address units is a must (see procedures for the implementation of the process). Third, P0 port, P2 and P3 of the second function I use: Beginners often on the P0 port, P2 and P3 port I use the second function puzzled that the second function and have a switch between the original function of the process, or have a directive, in fact, the port The second feature is automatic, do not need instructions to convert. Such as P3.6, P3.7 respectively WR, RD signal, when the microchip processing machines external RAM or external I / O port, they are used as a second function, not as a general-purpose I / O port used, so long as a A microprocessor implementation of the MOVX instruction, there will be a corresponding signal sent from the P3.6 or P3.7, no prior use of commands. In fact not as a general-purpose I / O port use is also not a no but (user) not as a general-purpose I / O port to use. You can arrange the order of a SETB P3.7s instructions, and when the MCU execution to the instruction, the also make P3.7 into a high, but use
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 高空作业施工安全知识培训课件
- 北京实操仿真考试题库及答案
- Umbralisib-hydrochloride-Standard-生命科学试剂-MCE
- 北京安全c证考试试题及答案
- 北大计算能力考试题库及答案
- 山东编导考试题目及答案
- 街道社工考试题及答案
- 高校消防知识培训课件
- 保安员考试00题题库及答案
- 蚌埠二中考试试卷真题及答案
- 变更风险识别、评估记录表参考模板范本
- 五年级语文阅读理解十篇(含答案)
- DB45T2053-2019 重质碳酸钙单位产品能源消耗限额
- 焊研威达埋弧焊机小车A系列说明书
- 静脉血栓栓塞症抗凝治疗微循环血栓防治专家共识
- 有机热载体锅炉安装工程施工方案完整
- 常规保养双人作业流程新模板汇总
- 处方点评与案例分析
- 数字化管道综述
- 英语研究性课题生活中的英语
- 发动机零部件英语词汇
评论
0/150
提交评论