Export (0) Print
Expand All

GPIOInterruptEventHandler Delegate

Denotes a delegate that is invoked when an interrupt occurs.

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


public delegate void GPIOInterruptEventHandler (
         Pin port,
         bool state,
         TimeSpan time
)

Parameters

port
A value that specifies the GPIO pin that this delegate is associated with.
state
A value that specifies whether the GPIO pin state is 0 (zero) or 1.
time
A value that specifies the time interval between invocations of the methods referenced by the callback method, in milliseconds. Specify Threading.Timeout.Infinite to disable periodic signaling.

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

Community Additions

ADD
Show:
© 2015 Microsoft