Liking cljdoc? Tell your friends :D

com.msladecek.gpio.libgpiod-cli-adapter

Adapters for libgpiod command line tools.

See https://libgpiod.readthedocs.io/en/latest/gpio_tools.html for details.

Adapters for `libgpiod` command line tools.

See https://libgpiod.readthedocs.io/en/latest/gpio_tools.html for details.
raw docstring

detectclj

(detect)

Adapter for gpiodetect.

See https://libgpiod.readthedocs.io/en/latest/gpiodetect.html for more details.

Adapter for `gpiodetect`.

See https://libgpiod.readthedocs.io/en/latest/gpiodetect.html for more details.
sourceraw docstring

get-linesclj

(get-lines lines)
(get-lines opts lines)

Adapter for gpioget.

Option --as-is is used by default to avoid resetting the lines. You may override it with {:as-is false}.

See https://libgpiod.readthedocs.io/en/latest/gpioget.html for more details.

Adapter for `gpioget`.

Option `--as-is` is used by default to avoid resetting the lines.
You may override it with `{:as-is false}`.

See https://libgpiod.readthedocs.io/en/latest/gpioget.html for more details.
sourceraw docstring

infoclj

(info)

Adapter for gpioinfo.

See https://libgpiod.readthedocs.io/en/latest/gpioinfo.html for more details.

Adapter for `gpioinfo`.

See https://libgpiod.readthedocs.io/en/latest/gpioinfo.html for more details.
sourceraw docstring

monitor-linesclj

(monitor-lines callback lines)
(monitor-lines opts callback lines)

Adapter for gpiomon.

Optional arguments are passed along as if they were long command line options. By default, the callback function will receive a map containing timestamp, line, chip, event-type (:rising or :falling) and the raw message received on stdout. If the event-clock option is specified, the timestamp will not be parsed, it will be a string. If a custom output format is specified, the map will contain only the raw message.

See https://libgpiod.readthedocs.io/en/latest/gpiomon.html for more details.

Adapter for `gpiomon`.

Optional arguments are passed along as if they were long command line options.
By default, the `callback` function will receive a map containing timestamp, line, chip,
event-type (:rising or :falling) and the raw message received on stdout.
If the event-clock option is specified, the timestamp will not be parsed, it will be a string.
If a custom output format is specified, the map will contain only the raw message.

See https://libgpiod.readthedocs.io/en/latest/gpiomon.html for more details.
sourceraw docstring

notify-linesclj

(notify-lines callback lines)
(notify-lines opts callback lines)

Adapter for gpionotify.

NOT IMPLEMENTED YET

See https://libgpiod.readthedocs.io/en/latest/gpionotify.html for more details.

Adapter for `gpionotify`.

NOT IMPLEMENTED YET

See https://libgpiod.readthedocs.io/en/latest/gpionotify.html for more details.
sourceraw docstring

set-linesclj

(set-lines lines-and-values)
(set-lines opts lines-and-values)

Adapter for gpioset.

See https://libgpiod.readthedocs.io/en/latest/gpioset.html for more details.

Adapter for `gpioset`.

See https://libgpiod.readthedocs.io/en/latest/gpioset.html for more details.
sourceraw docstring

set-lines-onceclj

(set-lines-once lines-and-values)

Same as set-lines but exit imediately after applying the new values.

Same as set-lines but exit imediately after applying the new values.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close