请输入您要查询的百科知识:

 

词条 COM (hardware interface)
释义

  1. History

  2. I/O addresses

  3. Uses

  4. See also

  5. References

  6. Further reading

  7. External links

{{refimprove|date=September 2013}}

COM (Communication port[1]) is the original, yet still common, name of the serial port interface on IBM PC-compatible computers. It might refer not only to physical ports, but also to virtual ports, such as ports created by Bluetooth or USB-to-serial adapters.

History

Most PC-compatible computers in the 1980s and 1990s had one or two COM ports. As of 2007, most computers shipped with one or no physical COM ports.

As of 2014, consumer-grade PC-compatible computers don't include any COM ports, though some of them do still include a COM header on the motherboard.

After the RS-232 COM port was removed from most consumer-grade computers in the 2000s, an external USB-to-UART serial adapter cable was used to compensate for the loss. A major supplier of these chips is FTDI.[2]

I/O addresses

The COM ports are interfaced by an integrated circuit such as 16550 UART. This IC has seven internal 8-bit registers which hold information and configuration data about which data is to be sent or was received, the baud rate, interrupt configuration and more. In the case of COM1, these registers can be accessed by writing to or reading from the I/O addresses 0x3F8 to 0x3FF.

If the CPU, for example, wants to send information out on COM1, it writes to I/O port 0x3F8, as this I/O port is "connected" to the UART IC register which holds the information that is to be sent out.

The COM ports in PC-compatible are typically defined as:

  • COM1: I/O port 0x3F8, IRQ 4
  • COM2: I/O port 0x2F8, IRQ 3
  • COM3: I/O port 0x3E8, IRQ 4
  • COM4: I/O port 0x2E8, IRQ 3

Uses

See also

  • Device file
  • Parallel port
  • Serial port
  • Input/Output Base Address

References

1. ^{{cite web|title=Configuring a communication port|url=http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/index.jsp?topic=%2Fcom.ibm.help.domino.admin.doc%2FDOC%2FH_SETTING_UP_A_COMMUNICATION_PORT_STEPS.html|publisher=IBM Lotus Domino and Notes Information Center|accessdate=17 September 2013}}
2. ^Products; FTDI.

Further reading

  • Serial Port Complete: COM Ports, USB Virtual COM Ports, and Ports for Embedded Systems; 2nd Edition; Jan Axelson; Lakeview Research; 380 pages; 2007; {{ISBN|978-1-931-44806-2}}.

External links

{{Commons category multi|RS-232|DE-9 connectors}}
  • How to Interface Hardware in COM ports
  • Java Simple Serial Connector - library for work with serial ports from Java. Support Windows: Win98-Win8(32-bit and 64-bit), Linux(x86, x86-64, ARM(soft and hard float)), Mac OS X: 10.5-10.8(x86, x86-64, PPC and PPC64), Solaris OS(x86, x86-64).

1 : Computer buses

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/16 17:21:31