Input and output devices I/O device summary

Publisher:devilcoreLatest update time:2018-10-09 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

 I/O devices are also called input and output devices.

Input and output devices I/O device summary

As shown in the figure above, the I/O bus includes the data bus, control bus, and address bus;

Each I/O device is connected to the I/O bus to transmit data with the PC. Therefore, the concept of I/O interface was derived, and gradually a technology "I/O interface technology" was generated.

The I/O interface circuit is located between the CPU and the peripherals (complex peripherals require a device controller). The peripherals transmit information to the microprocessor for processing through the I/O interface, and the microprocessor transmits the processed information to the peripherals through the I/O interface.

A typical I/O interface should include: port, address decoding, bus driver, and control logic.

I/O ports are registers that the CPU can directly access, including status registers, data registers, and control registers.

Address decoding is the process of decoding the address of the I/O bus to select the I/O port.

The bus driver is a "three-state gate" between the I/O port and the I/O bus, which realizes the "floating" and "connection" between the CPU and the I/O interface.

The control logic receives information from the control port and controls the operation of the interface.

(The above black text belongs to the textbook definition, which may be different from understanding the Linux kernel. It is for reference only)

Input and output devices I/O device summary

The I/O bus is connected to the I/O port and register group through the bus driver (three-state), interprets the signal through the I/O interface, sends it to the device controller for further interpretation, converts it into appropriate electrical signals, and controls the corresponding operation of the peripheral.

The reverse operation works in the same way.

I/O interface is divided into dedicated interface and general interface.

Dedicated I/O interface: dedicated to a specific hardware device. For example: graphics interface, network interface (packaged with the controller in the network card, which can receive and send network messages).

A universal I/O interface used to connect multiple different hardware devices, such as parallel port (printer), serial port (UART), SCSI port, and universal serial bus (USB).

Complex devices may require a device controller to drive them. The two important functions of the controller refer to the text in understanding the Linux kernel.

Simpler devices, such as interrupt controllers and timers, do not require secondary parsing and level conversion of high-level instructions of the I/O interface, so they do not require a device controller.

I/O devices are generally divided into character devices and block devices.


Reference address:Input and output devices I/O device summary

Previous article:MCU serial port setting problem
Next article:Some understanding of the microcontroller industry

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号