Delegate PiGpioAlertExDelegate
Defines a signature for alert callbacks. Conatins the pin number, a level change and a microseconds timestamp. The timestamp wraps around every ~72 minutes. Unlike Interrupts, alerts are generated by continuously sampling the value of the pin.
Namespace: Unosquare.PiGpio.NativeTypes
Syntax
public delegate void PiGpioAlertExDelegate(UserGpio userGpio, LevelChange levelChange, uint timeMicrosecs, UIntPtr userData);
Parameters
| Type | Name | Description |
|---|---|---|
| UserGpio | userGpio | The user gpio. |
| LevelChange | levelChange | The level change. |
| UInt32 | timeMicrosecs | The time microsecs. |
| UIntPtr | userData | The user data. |