Traditional Culture Encyclopedia - Traditional culture - 1. the role of peripherals in the computer 2. peripherals in the computer in what way 3. host and peripheral what kinds of transmission mode
1. the role of peripherals in the computer 2. peripherals in the computer in what way 3. host and peripheral what kinds of transmission mode
2. Peripherals generally work in a program interrupt mode, please refer to /ch05/5-1-3.htm
3. There are the following three ways to transfer data between the CPU and peripherals: program mode, interrupt mode, and DMA mode.
Program mode: the program mode can be divided into two ways: unconditional transmission mode and conditional transmission mode. The unconditional transfer method is generally used when the CPU peripheral transfers data less frequently. In the CPU is used to transfer data for a long time and the number of peripherals is not much when the conditional transfer method.
Interrupt mode: In real-time systems and systems with multiple peripherals, interrupt mode is used in order to improve the efficiency of the CPU and make the system have real-time performance. If the data transfer efficiency of an I/O device is high, the data transfer between the CPU and such a peripheral is still unsatisfactory even if the non-data transfer time is compressed as much as possible in the program query method and the interrupt method.
DMA mode: This is because in both modes, there is another reason for the speed impact, which is that they both transfer bytes or words. In order to solve this problem and realize the transfer by data block, it is necessary to change the transfer method, which is the direct memory transfer method, i.e. DMA method.
- Previous article:Your majesty, is this the legendary three-point teasing and seven-point hijacking?
- Next article:Hunan Yongzhou Zuoli (female)
- Related articles
- The King of School Daze: What became of the likes of youth in the end?
- Seek Beijing 3 ~ 4 days travel strategy
- What's the meaning of tiger shoes?
- Wuhou District, Chengdu City, Sichuan Province belongs to which city which district
- How does yangtze river international get in?
- How to make Korean cold noodles?
- What are the rankings of high-end valves?
- Lucky picture avatar 2020, what is the most auspicious picture on WeChat avatar?
- What are the color attributes of the five elements?
- Definition of natural history