┌─────────────────────┐ ┌─────────────────────┐
│ Programmed I/O │ │ Interrupt-driven I/O│
├─────────────────────┤ ├─────────────────────┤
│ Processor polls │ │ Device sends │
│ device status in a │ │ interrupt signal │
│ loop, waiting │ │ when ready │
│ │ │ │
│ Processor busy │ │ Processor does other │
│ waiting │ │ work until interrupt│
└─────────┬───────────┘ └─────────┬───────────┘
│ │
│ │
▼ ▼
Device ready Device ready
data transfer data transferThis diagram compares how programmed I/O keeps the processor busy polling the device, while interrupt-driven I/O lets the processor work until the device signals readiness.