18.2.8 Worked Examples: Devices and Interrupts