英语高手帮忙翻译下面的一段英文
英语高手帮忙翻译下面的一段英文
Apart from all above, you can also get super fast I/O lines using low cost simple TTL or CMOS shift registers.
Communication with external devices over distances of more than a few feet is often done in a serial manner – one bit at a time over one or two lines (one line for receiving information and one for sending). The 8051 family of microcontrollers typically include a Universal Asynchronous Receiver Transmitter (UART) for this purpose. This is the same type of device used to implement the COM ports of a PC. Although it is possible to use simple software polling routines to service a UART, it wastes CPU time and prevents the CPU from performing other tasks, so interrupts are more commonly used. In this lab, you will design a program to send and receive serial data using interrupts. A UART device driver can be difficult to debug using standard software-simulation tools. In such cases, it is common to develop models that simulate external hardware and allow you to see how your hardware-software design will interact with this hardware. A model of an external serialdevice will be provided which you can connect to the 8051 and can use to simulate and debug your design in hardware.
A UART (Universal Asynchronous Receiver-Transmitter) provides all the features needed for simple serial communications. It is bi-directional in the sense that it can both send and receive data. Initializing the 8051 UART is easy: set a timer to program the baud-rate (the rate data is transmitted), enable the timer (turn it on), set the serial port mode, and then set the number of bits to be sent/received. Bytes may be sent or received through an internal register SBUF. When a byte is received, an internal flag, RI (Receive Interrupt), is set. To read the received byte, simply read SBUF. To transmit a byte, simply write it to SBUF.The flag TI (Transmit interrupt) notifies the 8051 when a byte has finished being sent and gives the microcontroller an opportunity to send another byte.
The simplest way to send and receive data is to constantly monitor the flags RI and TI from within your program, but then your program would never have time to do anything else. A better way is to use a serial-port interrupt. The 8051 is set up so that an interrupt can be generated anytime RI or TI is set ― anytime that the UART needs attention. Because the interrupt will be generated on either RI or TI, the function that responds to the interrupt must poll RI and TI to see which of them caused the interrupt.
除了以上,你也可以得到超级快我/ o线采用低成本简单ttl或cmos移位寄存器.
通信与外部设备的距离超过几英尺,通常是在一个串行方式-一个比特在时间超过一人或两线( 1线接收信息一发出) .8051系列单片机通常包括一个通用异步接收发射机(异步)用于此目的.这是同一类型的设备用于实施com端口的电脑.虽然它是可以用简单的软件投票套路服务,异步,它浪费cpu时间,并防止*执行其他任务,使中断较为常用.在这个实验室,你会设计一个程序来发送和接收串行数据用中断.一个串行设备驱动程序可难调试使用标准软件模拟工具.在这种情况下,是共同的发展模式,模拟外部硬件,让你看看你的硬件,软件设计将互动这一硬件.模型外部serialdevice将提供您能连接到8051 ,可以使用模拟和调试你的设计,在硬件.
一个异步(通用异步接收器-变送器)提供的所有功能需要简单串行通信.这是双向的,在意义上,它可以同时发送和接收数据.初始化8051串行容易:设置计时器编程波特率(速率数据传输) ,使定时器(把它) ,设置串口模式,然后设定的比特数被送到/收到.字节,可发送或接收通过内部登记sbuf .当一个字节收到一份内部国旗,扶(接收中断) ,是一套.阅读收到字节,根本看sbuf .传送一个字节,简单的写它sbuf.the旗德州仪器(传输中断)的通知时,8051字节,已完成正发送给单片机一个机会再派字节.
最简单的方法来发送和接收数据,是要不断地监测国旗扶钛从你的节目,但后来您的计划永远不会有时间做别的事.更好的办法是利用一个串口中断.8051成立,使中断,可随时产生阻力或钛是集-随时,异步需要注意.因为中断会产生要么扶或钛,功能响应中断必须民调扶钛看看哪个人造成中断.
阿拉伯文到英语 测试版朝鲜语到英语 测试版德语到法语德语到英语俄语到英语 测试版法语到德语法语到英语葡萄牙语到英语日语到英语 测试版西班牙语到英语意大利语到英语英语到阿拉伯文 测试版英语到朝鲜语 测试版英语到德语英语到俄语 测试版英语到法语英语到葡萄牙语英语到日语 测试版英语到西班牙语英语到意大利语英语到中文(繁体) 测试版英语到中文(简体) 测试版中文到英语 测试版中文(繁体到简体) 测试版中文(简体到繁体) 测试版
更好的翻译建议
Google 翻译提供翻译建议.我们会利用您的建议在将来更新我们的系统时提高翻译质量.除了以上,你也可以得到超级快我/ o线采用低成本简单ttl或cmos移位寄存器.
通信与外部设备的距离超过几英尺,通常是在一个串行方式-一个比特在时间超过一人或两线( 1线接收信息一发出) .8051系列单片机通常包括一个通用异步接收发射机(异步)用于此目的.这是同一类型的设备用于实施com端口的电脑.虽然它是可以用简单的软件投票套路服务,异步,它浪费cpu时间,并防止*执行其他任务,使中断较为常用.在这个实验室,你会设计一个程序来发送和接收串行数据用中断.一个串行设备驱动程序可难调试使用标准软件模拟工具.在这种情况下,是共同的发展模式,模拟外部硬件,让你看看你的硬件,软件设计将互动这一硬件.模型外部serialdevice将提供您能连接到8051 ,可以使用模拟和调试你的设计,在硬件.
一个异步(通用异步接收器-变送器)提供的所有功能需要简单串行通信.这是双向的,在意义上,它可以同时发送和接收数据.初始化8051串行容易:设置计时器编程波特率(速率数据传输) ,使定时器(把它) ,设置串口模式,然后设定的比特数被送到/收到.字节,可发送或接收通过内部登记sbuf .当一个字节收到一份内部国旗,扶(接收中断) ,是一套.阅读收到字节,根本看sbuf .传送一个字节,简单的写它sbuf.the旗德州仪器(传输中断)的通知时,8051字节,已完成正发送给单片机一个机会再派字节.
最简单的方法来发送和接收数据,是要不断地监测国旗扶钛从你的节目,但后来您的计划永远不会有时间做别的事.更好的办法是利用一个串口中断.8051成立,使中断,可随时产生阻力或钛是集-随时,异步需要注意.因为中断会产生要么扶或钛,功能响应中断必须民调扶钛看看哪个人造成中断.