Delegate PiGpioIsrExDelegate
Defines a signature for ISR callbacks. Conatins the pin number, a level change and a microseconds timestamp. The timestamp wraps around every ~72 minutes. Unlike alerts, interrupts are generated with level changes. Make sure you hookup pull-down/pull-up resitors for interrupts to work as they depend on current flowing through the pin in order to fire consistently.
Namespace: Unosquare.PiGpio.NativeTypes
Syntax
public delegate void PiGpioIsrExDelegate(SystemGpio gpio, LevelChange level, uint timeMicrosecs, UIntPtr userData);
Parameters
| Type | Name | Description |
|---|---|---|
| SystemGpio | gpio | The gpio. |
| LevelChange | level | The level. |
| UInt32 | timeMicrosecs | The time microsecs. |
| UIntPtr | userData | The user data. |