InterruptPort.ClearInterrupt Method

Windows Automotive 5.0/5.5
Clears the current interrupt on the interrupt port.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in

public void ClearInterrupt ()

If a level interrupt event occurs (InterruptEdgeLevelHigh or InterruptEdgeLevelLow), the application must call the ClearInterrupt method to re-enable this event. Note that nonlevel interrupts do not require the ClearInterrupt method to re-enable the event. In fact, calling ClearInterrupt on a nonlevel event throws the exception System.InvalidOperationException.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

Community Additions