## Interrupt Pipes

This scenario shows how to read the switch state and register for a switch state change event from the device. If the device is disconnected and reconnected, you must reregister for the event because it is not automatically done.

This scenario shows how to register for an event from a device's interrupt in pipe and how to write to an interrupt out pipe. If the device is disconnected and reconnected, you must reregister for the event because it is not automatically done.