InterruptPort.ClearInterrupt Method

Clears the current interrupt on the interrupt port.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

[MethodImplAttribute]
public void ClearInterrupt ()

Remarks

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.

Version Information

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

See Also

Reference

InterruptPort Class
InterruptPort Members
Microsoft.SPOT.Hardware Namespace