haibaraxx的个人博客分享 http://blog.sciencenet.cn/u/haibaraxx

博文

COM port, USB, device file

已有 3222 次阅读 2016-5-16 03:47 |个人分类:instrumentation|系统分类:科研笔记| USB, com, file, device, port

COM ports, short for communication ports, are traditional serial port interfaces on IBM PC-compatible computers. They refers not only to physical ports, but also to virtual ports such as ports created by Bluetooth or USB-to-Serial adapters.

USB-to-Serial adapters do two things:

1. They physically connect a serial cable to a USB port.

2. They have software drivers that create a Virtual COM Port.

A Virtual COM Port created by a USB-to-serial adapter can be a setting that allows software products to connect to USB devices using COM port connections.


A serial port (串行接口) is a serial communication interface through which information transfer in or out one bit at a time. Throughout most of the history of personal computers, data was transferred through serial ports to devices such as modems (调制解调器), terminals (终端机) and various of peripherals (外部设备). Serial ports are still used in applications such as industrial automation system, scientific instruments as they are simple, cheap and their console (控制) functions are highly standardized and widespread. A serial port requires very little supporting software from the host system. Modern computers without serial ports may require USB-to-Serial adapters to allow compatibility with serial devices.


A parallel port (并行接口) is a parallel communication physical interface, which is also known as a printer port or Centronics port. It was originally known as the Parallel Printer Adapter on IMB PC-compatible computers as it was primarily designed to operate printers. Today, the parallel port is virtually non-existent because of the rise of USB devices.


Universal Serial Bus (USB,通用串行总线) is an industry standard that defines the cables, connectors and communication protocols used in a bus (a bus/buss is a communication system that transfer data between components inside a computer or between computers) or connection, communication and power supply between computers and electronic devices. It was designed to standardize the connection of computer peripherals including keyboard, pointing devices, digital cameras, printers, portable media players, disk drives and network adapters to PC, both to communicate and to supply electric power.

A device file is an interface for a device driver that appears in a file system as if it were an ordinary file. They allow software to interact with a device driver using standard input/output (I/O) system calls, which simplifies many tasks and unifies user-space I/O mechanisms. Device files often provide simple interfaces to peripheral devices such as printers and serial ports. Also, they can be used to access specific resources on those devices. Finally, device files are useful for accessing system resources that have no connection with any actual device.



https://blog.sciencenet.cn/blog-3031432-977460.html

上一篇:UTC: Coordinated Universal Time 协调世界时
下一篇:Matlab:删除数组的第2n行
收藏 IP: 95.90.225.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

IP: 123.150.203.*   | 閻犙嶆嫹 閻犙嶆嫹 +1 [1]anonymity   2012-7-26 21:17
闂佸尅绠掗幊娆戠矓閹寸姵鐣遍柤鐑樺敾缁辨繈鏌堟禒瀣瘣鐎电増顨呯欢銏ゅ磽韫囧鍋撻崒娑欒含婵℃彃鐏濋惈姗€鎯冮崟顐g殤闁哄洦娼欓崕姘閸℃劏鍋撻崒娑氭Х濠碘€冲€稿畷鐔哥鎼淬倕小濞戞挸锕﹀﹢鍛存晬鐏炴儳鐏夐悘蹇撳船閸ㄥ孩娼忛妸銈囩憹闁告垹鍎ゅḿ鐢稿Υ閸岀偛浜濆☉鎿冧邯閻濐喖顩奸敐鍫濈秴闁挎稑鐬奸~鎰版媼绾板绀夌€殿喒鍋撻柣銊ュ婵磭浜搁崡鐐村閺夆晜鐟ら柌婊勭▔閳ь剟寮介弸顐熷亾閿燂拷
闁搞儳鍋涢ˇ锟�  闁挎冻鎷� 缁绢収鍠栭悿鍕及椤栥倗绀夐柡鍫涘妽鍗忛悘鐐靛仦椤︽煡鎮ч埡鍌涚畳闂侇喓鍔岄崹搴g矓瀹ュ洦鐣遍柤鍝勫船濡﹥绋夊鍜佹▼濞戞挴鍋撳☉鎿冧簼閻楅亶濡撮崒娑樼亯濞寸姰鍎遍幃妤呭嫉婢跺绨氬ù鍏肩煯缁″啴寮堕妷锔炬Х閺夊牆鍟╃粩瀛樼▔鐎c劉鍋撻崒婵嬫▼閻犲婢佺槐锟�
2012-7-27 11:241 婵°倗銆嬬槐娆撳炊閻愬樊妲绘俊銈夋?鐎靛矂鏁嶉敓锟� 閻犙嶆嫹 閻犙嶆嫹 +1 |

1/1 | 闁诡剚妲掗锟�:1 | 濡絾鐗犻妴锟� | 濞戞挸锕g粩瀛樸亜閿燂拷 | 濞戞挸顑勭粩瀛樸亜閿燂拷 | 闁哄牜鍋婇妴锟� | 閻犲搫鐤囧ù锟�

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2025-3-21 04:30

Powered by ScienceNet.cn

Copyright © 2007-2025 中国科学报社

返回顶部