266 views

1 Answer

Best answer
2 votes
2 votes
Interrupt-driven I/O (Input/Output) can be memory-mapped. Memory-mapped I/O allows a processor to read and write directly to memory-mapped I/O registers, which are often used to communicate with devices. Interrupts can be generated by devices connected to these registers, allowing the processor to be interrupted and respond to the device's request.

Polling can be either memory-mapped or I/O mapped, depending on how the system is designed. In memory-mapped I/O, devices are accessed through memory addresses and are treated like memory locations, so polling is done by reading the device's status register from memory. In I/O mapped I/O, devices are accessed through dedicated I/O ports, so polling is done by reading the device's status register from an I/O port address.
selected by

Related questions

1 votes
1 votes
1 answer
4
Ayush Upadhyaya asked Oct 30, 2018
1,202 views
I think percentage of processor time consumed should be $\frac{ \,ISR\,time}{ISR\,time+\,Data\,Transfer\,Time}=\frac{100}{100+122}$.Is it correct?