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)

Syntax

public delegate void GPIOInterruptEventHandler (
         Pinport,
         boolstate,
         TimeSpantime
)

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.

Version Information

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

See Also

Reference

Microsoft.SPOT.Hardware Namespace