BBBCSIO

The InterruptMode Enum

 

The InterruptMode Enum

The InterruptMode enum defines the type of interrupt event which will trigger an InterruptPort's OnInterrupt event.

 

Source Code

The source code for this class is available online for download and also in browseable form.

 

Syntax

   public enum InterruptMode
    {
        InterruptEdgeBoth,      // A value that sets the port so that its interrupt is triggered on both the rising and falling edges.
        InterruptEdgeLevelHigh, // A value that sets the port so that its interrupt is triggered when the input level is high.
        InterruptEdgeLevelLow,  // A value that sets the port so that its interrupt is triggered when the input level is low.
        InterruptNone
    }