Share via


InterruptPort.OnInterrupt Event

Adds or removes callback methods for capture events.

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

Syntax

public event GPIOInterruptEventHandler 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 .NET Micro Framework version 2.0, 2.5

See Also

Reference

InterruptPort Class
InterruptPort Members
Microsoft.SPOT.Hardware Namespace