FrequencyMode Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines on which events the frequency counter should increase.
public enum FrequencyMode
type FrequencyMode =
Public Enum FrequencyMode
- Inheritance
-
FrequencyMode
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. |
Produkt | Versioner |
---|---|
.NET IoT Libraries | 2.0.0, 2.1.0, 2.2.0 |