Läs på engelska Redigera

Dela via


FrequencyMode Enum

Definition

Defines on which events the frequency counter should increase.

C#
public enum FrequencyMode
Inheritance
FrequencyMode

Fields

Name Value Description
NoChange 0

Don't change the value

Low 1

Trigger when the value is low. Use with care: This triggers an internal interrupt AS LONG AS the value on the pin is low, which may completely lock up the board.

High 2

Trigger when the value is high. This mode is only supported on some boards.

Rising 3

Trigger on a rising edge

Falling 4

Trigger on a falling edge

Change 5

Trigger on both edges. Note that this will typically result in a frequency reported twice as high as it actually is.

Applies to

Produkt Versioner
.NET IoT Libraries 2.0.0, 2.1.0, 2.2.0