Skip to main content

Enum InterruptMode

Describes if and when an interrupt is triggered in response to signal changes.

Assembly: Meadow.Contracts.dll
View Source
Declaration
public enum InterruptMode

Fields

None

No interrupt is enabled.

View Source
Declaration
None = 0

EdgeFalling

The interrupt is triggered on the falling edge when changing from HIGH to LOW.

View Source
Declaration
EdgeFalling = 1

EdgeRising

The interrupt is triggered on the rising edge when changing from LOW to HIGH.

View Source
Declaration
EdgeRising = 2

EdgeBoth

The interrupt is triggered on any state change.

View Source
Declaration
EdgeBoth = 3