The key for any hardware piece to work with others is the SOFTWARE. That is why anything you buy for your computer (graphics cards, hard drives, etc.) it comes with software (or the driver) to help the computer recognize it and use it for the function its meant to be used for. I hope this is what you were looking for.
Short answer: IO unit(s) .
Long answer : in order to understand how processor and peripherals communicating , you should have a look on the computer architecture , see this :
peripherals<--> IO unit <--> CPU <--> IO unit <--> Devices ( Memories,keyboard,mouse, etc ..)
let us say you have inserted a USB storage into your PC, the USB port is interfaced on particular address, this address is known by the IO unit , so when IO unit has Input data on that address it will interrupt the CPU to serve the USB , the CPU will does the job and then it sends processed data to the IO unit , and then the IO unit sends the output data to the USB .
i wish this will help you
OMG
Another answer : Data flow between Microprocessor and peripheral is done with different data bus.
Driver programs enable the computer to communicate successfully with peripherals.
We have on a motherboard called a input/output device. There are multiple of types, but the most common are PS/2, DVI, and USB. There are wires connected to the device called a Bus. The bus sends data to the processor where it is interpreted as data.
Computer buses enable different parts of the computer to communicate. For instance, the Front Side Bus allows the processor to communicate with memory.
If they were, the devices would all have to have a separate interpreter for the processor and in order to communicate amongst themselves they'd have to go through the processor, which would slow the computer down. If everything is connected to the motherboard and the motherboard interprets everything for the processor, it's cheaper and faster.
scsi port
scsi port
PCI
They do not communicate directly on the network. Instead, peripherals rely on their connected host to perform all network operations. Examples of shared peripherals are scanners, locally attached printers, and fax machines its input and output
No, peripherals are things like monitors, keyboards, mice etc. CPU is a major component that a computer must have to operate. It is a processor, all other parts are peripherals. (Some computers, some severs for example, do not need any peripherals to operate.)
Peripherals
*data transfer rate of peripherals are slower but faster in the central computer (CPU). *Peripherals uses data codes while CPU uses word format. *Ex: printer, keyboard in Perpherals- Ex: processor, register, ALU unit in Central computer.
the central processing unit or the CPU. it contains your processor.