DLN_GPIO_EVENT_LEVEL_HIGH Event Type

Events are generated when the high level (logical 1) is detected on the digital input line.

If the eventPeriod parameter is 0, a single event is generated, when the level on the line changes from logical 0 to logical 1.

If the eventPeriod is non-zero, the device will send recurrent events every eventPeriod milliseconds, while high level is present on the line. The DLN_GPIO_EVENT structure contains the eventCount parameter. It contains a number of events, sent after the previous level change.

If the isDebounceEnabled parameter is set, the changes on the line are registered only after the signal has been stable for a predefined period of time.