DEKI/ENGINE docs
manual api reference
deki-gpio 0.40.1
Deki package reference
deki-gpio

Digital pins: drive, read, and count a pin's pulses by interrupt, plus a boot step that drives a pin. The platform package supplies the backend

Repository: github.com/dekiengine/deki-gpio · Latest release: 0.40.0 · Needs engine 0.40.0+

Install with DekiEditor --packages-add deki-gpio <project>, or from the Package Manager. The engine's own components and C++ API are in the Deki docs.

Shown in the editor as GPIO.

Components

Component Category Description
GpioPinSetup GPIO Drives a pin high or low at boot: a power enable, or the chip select of an unused device on a shared bus.

Feature flags

Parts you can leave out of a build. A feature with a define is switched there; the rest are stripped with their components.

Feature Define Default
Boot Pins DEKI_FEATURE_GPIO_PIN_SETUP on

Component reference

GpioPinSetup

Drives a pin high or low at boot: a power enable, or the chip select of an unused device on a shared bus.

Inspector name: GPIO Pin · Category: GPIO · Type: DekiGpio::GpioPinSetup

Property Type Default Constraints Description
pin int32 -1 -1 to 255 Pin number, as the platform numbers them (-1 = do nothing)
high bool true Drive the pin high (off = low)
settleMs int32 0 0 to 5000 Milliseconds to wait afterwards, for a power rail to come up before the next setup step

Changelog

0.40.0

Changed

  • minEngine 0.40.0: built against engine 0.40.0. A build of this package from before does not load and is rebuilt.

0.22.0

Changed

  • minEngine 0.22.0: built against engine 0.22.0. A build of this package from before does not load and is rebuilt.

Earlier releases: CHANGELOG.md.


Generated from the package's reflection data (engine 0.40.1). Property names are the keys used in scene files. Renames keep an alias (compatibility).