Delegate PiGpioAlertDelegate
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 PiGpioAlertDelegate(UserGpio userGpio, LevelChange levelChange, uint timeMicrosecs);
Parameters
| Type | Name | Description |
|---|---|---|
| UserGpio | userGpio | The user gpio. |
| LevelChange | levelChange | The level change. |
| UInt32 | timeMicrosecs | The microseconds timestamp. |