Unosquare
    Show / Hide Table of Contents

    Delegate PiGpioIsrDelegate

    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 PiGpioIsrDelegate(SystemGpio gpio, LevelChange level, uint timeMicrosecs);
    Parameters
    Type Name Description
    SystemGpio gpio

    The gpio.

    LevelChange level

    The level.

    UInt32 timeMicrosecs

    The time microsecs.

    Comments

    Back to top Copyright © 2017-2019 Unosquare