虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

I.

  • 各系列I/O型单片机使用手册

    各系列I/O型单片机使用手册 第一部份 单片机概论 1第一章 硬件结构 3简介3特性4技术特性4内核特性4周边特性5选择表6系统框线图7引脚分配8引脚说明10极限参数15直流电气特性16交流电气特性18EEPROM 交流电气特性18系统结构图19时序和流水线结构(Pipelining) 19程序计数器21堆栈23算术及逻辑单元 – ALU24MTP 程序存储器25结构25特殊向量26查表27查表程序范例28在线烧写30数据存储器31结构31通用数据存储器32专用数据存储器32

    标签: 单片机 使用手册

    上传时间: 2013-10-15

    上传用户:yimoney

  • I/O 型单片机使用手册

    I/O 型单片机使用手册 目录 间接寻址寄存器 – IAR, IAR0, IAR1 .............................................35间接寻址指针 – MP, MP0, MP1 ......................................................35存储区指针 – BP .........................................................................36累加器 – ACC...................................................................................37程序计数器低字节寄存器 – PCL....................................................37表格寄存器 – TBLP,TBHP,TBLH....................................................37看门狗定时寄存器 – WDTS............................................................38状态寄存器 – STATUS.....................................................................38中断控制寄存器 – INTC,INTC0,INTC1 .........................................39定时/计数寄存器...............................................................................39输入/输出端口和控制寄存器...........................................................40UART 寄存器 .USR,UCR1,UCR2,TXR/RXR,BRG.......................40输入/输出端口..........................................................................................41上拉电阻............................................................................................41PA 口的唤醒......................................................................................41输入/输出端口控制寄存器...............................................................41引脚共享功能....................................................................................42编程注意事项....................................................................................45定时/计数器..............................................................................................46配置定时/计数器输入时钟源...........................................................47定时/计数寄存器 – TMR, TMR0,TMR0L/TMR0H,TMR1L/TMR1H,TMR2.....................................................................49定时/计数控制寄存器 – TMRC,TMR0C,TMR1C,TMR2C............50定时器模式........................................................................................53事件计数器模式................................................................................53脉冲宽度测量模式............................................................................54可编程分频器(PFD)和蜂鸣器的应用..............................................55预分频器(Prescaler)...........................................................................56输入/输出接口...................................................................................56编程注意事项....................................................................................57定时/计数器应用范例.......................................................................57中断............................................................................................................59中断寄存器........................................................................................59中断优先权........................................................................................62外部中断............................................................................................63定时/计数器中断...............................................................................64UART 中断........................................................................................64编程注意事项....................................................................................65复位和初始化............................................................................................66复位....................................................................................................66目录iii异步串行口——UART............................................................................74UART 特性..........................................................................................74UART 外部引脚..................................................................................74数据发送.............................................................................................75UART 状态控制寄存器......................................................................75波特率发生器.....................................................................................79UART 设置与控制..............................................................................81UART 发送器......................................................................................83UART 接收器......................................................................................84接收错误处理.....................................................................................85接收中断图解.....................................................................................86地址检测模式.....................................................................................86暂停模式下的UART 功能.................................................................87UART 应用范例.................................................................................87振荡器........................................................................................................89系统时钟配置....................................................................................89系统晶体/陶瓷振荡器.......................................................................89系统电阻电容振荡器........................................................................90内部系统电阻电容振荡器................................................................90RTC 振荡器........................................................................................91看门狗定时振荡器............................................................................91暂停和唤醒................................................................................................92暂停.....................................................................................................92进入暂停.............................................................................................92静态电流.............................................................................................92唤醒....................................................................................................92看门狗定时器............................................................................................94掩膜选项....................................................................................................96应用电路....................................................................................................97第二部份 程序语言.....................................................................99第二章 指令集介绍.................................................................................101指令集......................................................................................................101指令周期..........................................................................................101数据的传送......................................................................................101算术运算..........................................................................................102逻辑和移位运算..............................................................................102分支和控制的转换..........................................................................102位运算..............................................................................................102查表运算..........................................................................................103其它运算..........................................................................................103指令设定一览表......................................................................................104惯例..................................................................................................104I/O 型单片机使用手册iv第三章 指令定义.....................................................................................107第四章 汇编语言和编译器.....................................................................121常用符号..................................................................................................121语句语法..................................................................................................122名称..................................................................................................122操作项..............................................................................................122操作数项..........................................................................................122注解..................................................................................................122编译伪指令..............................................................................................123条件编译伪指令..............................................................................123文件控制伪指令..............................................................................124程序伪指令......................................................................................126数据定义伪指令..............................................................................130宏指令..............................................................................................132汇编语言指令..........................................................................................136名称..................................................................................................136助记符..............................................................................................136操作数、运算子和表达式..............................................................136其它..........................................................................................................139前置引用..........................................................................................139局部标号..........................................................................................139汇编语言保留字..............................................................................140编译器选项..............................................................................................141编译列表文件格式..................................................................................141源程序列表......................................................................................141编译总结..........................................................................................142其它..................................................................................................142第三部份 开发工具................................................................... 145第五章 单片机开发工具.........................................................................147HT-IDE 集成开发环境............................................................................147盛群单片机仿真器(HT-ICE) ..................................................................149HT-ICE 接口卡.................................................................................149OTP 烧写器.....................................................................................149OTP 适配卡.....................................................................................149系统配置..................................................................................................150HT-ICE 接口卡设置........................................................................151安装..........................................................................................................153系统要求..........................................................................................153硬件安装..........................................................................................153软件安装..........................................................................................154目录v第六章 快速开始.....................................................................................159步骤一:建立一个新项目..............................................................159步骤二:将源程序文件加到项目中..............................................159步骤三:编译项目..........................................................................159步骤四:烧写OTP 单片机.............................................................160步骤五:传送程序与掩膜选项单至Holtek ..................................160附录............................................................................................... 161附录A 特性曲线图...................................................................................163附录B 封装信息.......................................................................................173

    标签: 单片机 使用手册

    上传时间: 2013-10-18

    上传用户:blacklee

  • HOLTEK I/O 8-Bit MTP输入/输出型八位可多

    HOLTEK I/O 8-Bit MTP输入/输出型八位可多次编程单片机初学者工具使用手册 MTP(可多次烧写)使用者工具是一个认识HOLTEK 8 位微控制器的快捷便利、低成本途径。它也可以作为MTP 编程器和验证板。

    标签: HOLTEK Bit MTP 输入

    上传时间: 2013-10-08

    上传用户:xiaodu1124

  • EDA9060开关量I/O 模块在电气控制柜中的典型应用

    EDA9060开关量I/O 模块在电气控制柜中的典型应用—— EDA9060结合交流接触器实现远程控制EDA9060开关量I/O模块是山东力创科技自主研发的一款分布式DI/DO工控模块,主要功能特点:◎4路开关量输入,4路继电器输出。继电器两组常开2触点,两组常开常闭3触点。输出触点容量为8A 125VAC(5A 250VAC5A30VDC),由于触点容量较大,可以直接用在很多的常见电气控制电路中。输出有两种方式,一种电平式,一种脉冲式,可以灵活配置。◎标准的RS485接口,方便组网,结合GPRS DTU无线模块可以实现无线远程控制功能。◎灵活的协议,兼容研华协议,支持标准MODBUS RTU协议,方便上位机的系统组建。EDA9060在电气控制柜中有着广泛的应用,通过增加EDA9060远程控制线路,改变了原来必须依靠人工到现场启停电气线路的状况,实现无人值守,节省资源。线路改造主要通过EDA9060的继电器输出控制交流接触器,从而实现远程控制现场用电设备(如常见的工业泵)的启停。同时增加一个转换开关,将手动控制线路和EDA9060远程控制线路隔离开,以保证现场操作优先的要求,同时增强操作的可靠性。下面以交流接触器控制线路在220V电压等级以内的常见控制电路为例,简要说明其控制过程,线路容量大的情况只需要通过增加合适容量的中间继电器,扩大EDA9060的触点容量即可解决,示意图:

    标签: 9060 EDA 开关量 典型

    上传时间: 2013-11-15

    上传用户:robter

  • 单片机I/O口的使用

    单片机I/O口的使用:对单片机的控制,其实就是对I/O口的控制,无论单片机对外界进行何种控制,亦或接受外部的控制,都是通过I/O口进行的。单片机总共有P0、P1、P2、P3四个8位双向输入输出端口,每个端口都有锁存器、输出驱动器和输入缓冲器。4个I/O端口都能作输入输出口用,其中P0和P2通常用于对外部存储器的访问。§4.1 MCS-51单片机的并行端口结构与操作 51系列单片机有4个I/O端口,每个端口都是8位准双向口,共占32根引脚。每个端口都包括一个锁存器(即专用寄存器P0~P3)、一个输出驱动器和输入缓冲器。通常把4个端口笼统地表示为P0~P3。

    标签: 单片机

    上传时间: 2013-11-06

    上传用户:zhouxuepeng1

  • AN070231 I O扩展器选型指南

    基于 I2C 总线的GPIO 扩展器件为主控器提供了额外的I/O 口,本文介绍了扩展器件的应用场合和选型指南,为设计者在设计中提供了参考。

    标签: 070231 AN 扩展器 选型指南

    上传时间: 2013-11-11

    上传用户:llwap

  • 16-bit IC and SMBus I/O Port w

    The CAT9555 is a CMOS device that provides 16-bitparallel input/output port expansion for I²C and SMBuscompatible applications. These I/O expanders providea simple solution in applications where additional I/Osare needed: sensors, power switches, LEDs,pushbuttons, and fans.

    标签: SMBus Port bit and

    上传时间: 2014-01-09

    上传用户:1101055045

  • 数字I/O介绍

    数字I/O脚有专用和复用。数字I/O脚的功能通过9个16位控制寄存器来控制。控制寄存器分为两类:(1)I/O复用控制寄存器(MCRX),来选择I/O脚是外设功能还是I/O功能。(2)数据方向控制寄存器(PXDATDIR):控制双向I/O脚的数据和数据方向。注意:数字I/O脚是通过映射在数据空间的控制寄存器来控制的,与器件的I/O空间无任何关系。240X/240XA多达41只数字I/O脚,多数具有复用功能。

    标签: 数字

    上传时间: 2013-10-31

    上传用户:qimingxing130

  • XAPP520将符合2.5V和3.3V I/O标准的7系列FPGA高性能I/O Bank进行连接

    XAPP520将符合2.5V和3.3V I/O标准的7系列FPGA高性能I/O Bank进行连接  The I/Os in Xilinx® 7 series FPGAs are classified as either high range (HR) or high performance (HP) banks. HR I/O banks can be operated from 1.2V to 3.3V, whereas HP I/O banks are optimized for operation between 1.2V and 1.8V. In circumstances that require an HP 1.8V I/O bank to interface with 2.5V or 3.3V logic, a range of options can be deployed. This application note describes methodologies for interfacing 7 series HP I/O banks with 2.5V and 3.3V systems

    标签: XAPP FPGA Bank 520

    上传时间: 2013-11-19

    上传用户:yyyyyyyyyy

  • 采用高速串行收发器Rocket I/O实现数据率为2.5 G

    摘要: 串行传输技术具有更高的传输速率和更低的设计成本, 已成为业界首选, 被广泛应用于高速通信领域。提出了一种新的高速串行传输接口的设计方案, 改进了Aurora 协议数据帧格式定义的弊端, 并采用高速串行收发器Rocket I/O, 实现数据率为2.5 Gbps的高速串行传输。关键词: 高速串行传输; Rocket I/O; Aurora 协议 为促使FPGA 芯片与串行传输技术更好地结合以满足市场需求, Xilinx 公司适时推出了内嵌高速串行收发器RocketI/O 的Virtex II Pro 系列FPGA 和可升级的小型链路层协议———Aurora 协议。Rocket I/O支持从622 Mbps 至3.125 Gbps的全双工传输速率, 还具有8 B/10 B 编解码、时钟生成及恢复等功能, 可以理想地适用于芯片之间或背板的高速串行数据传输。Aurora 协议是为专有上层协议或行业标准的上层协议提供透明接口的第一款串行互连协议, 可用于高速线性通路之间的点到点串行数据传输, 同时其可扩展的带宽, 为系统设计人员提供了所需要的灵活性[4]。但该协议帧格式的定义存在弊端,会导致系统资源的浪费。本文提出的设计方案可以改进Aurora 协议的固有缺陷,提高系统性能, 实现数据率为2.5 Gbps 的高速串行传输, 具有良好的可行性和广阔的应用前景。

    标签: Rocket 2.5 高速串行 收发器

    上传时间: 2013-11-06

    上传用户:smallfish