Share via


ClearInterrupt Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Clears the current interrupt on the interrupt port.

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

Syntax

'Declaration
Public Sub ClearInterrupt
public void ClearInterrupt()
public:
void ClearInterrupt()
member ClearInterrupt : unit -> unit 
public function 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 InvalidOperationException.

.NET Framework Security

See Also

Reference

InterruptPort Class

Microsoft.SPOT.Hardware Namespace