InterruptPort.OnInterrupt Event

Adds or removes callback methods for capture events. (Inherited from NativeEventDispatcher.)

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

Syntax

public event NativeEventHandler OnInterrupt

Remarks

Applications can subscribe to this event to be notified whenever an interrupt event occurs.

Note

If an InterruptEdgeLevelHigh or InterruptEdgeLevelLow interrupt event occurs, an application must call the ClearInterrupt method to re-enable this event.

Version Information

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

See Also

Reference

InterruptPort Class
InterruptPort Members
Microsoft.SPOT.Hardware Namespace