PinInterrupt#

class ultimo_machine.gpio.PinInterrupt(pin_id, pull, trigger=machine.Pin.IRQ_RISING)#

A source triggered by an IRQ on a pin.

The class acts as a context manager to set-up and remove the IRQ handler.

Methods

close()

Attributes

event

An uasyncio ThreadSafeFlag which is set to wake the iterators.

event: uasyncio.ThreadSafeFlag#

An uasyncio ThreadSafeFlag which is set to wake the iterators.

flow#

alias of EventFlow