toggle2nist(9)

toggle2nist9

Toggle button to nist logic

Usage

loadrt toggle2nist [count=N|names=name1[,name2...]]

Overview

Toggle2nist can be used with a momentary push button to control a device that has separate on and off inputs and an is-on output.

• On a rising edge on pin in when is-on is low: It sets on until is-on becomes high.

• On a rising edge on pin in when is-on is high: It sets off until is-on becomes low.

┐ ┌─────xxxxxxxxxxxx┐ ┌─────xxxxxxxxxxxx┐
in : └─────┘ xxxxxxxxxxxx└───────────┘ xxxxxxxxxxxx└─────
┐ ┌───────────┐
on : └─────┘ └─────────────────────────────────────────
┐ ┌───────────┐
off : └───────────────────────────────────┘ └───────────
┐ ┌─────────────────────────────┐
is-on: └─────────────────┘ └───────────

Functions

toggle2nist.N

Pins

toggle2nist.N.in bit in
toggle2nist.N.is-on bit in
toggle2nist.N.on bit out
toggle2nist.N.off bit out

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Anders Wallin

License

GPL

From linuxcnc-uspace 1:2.9.4-2+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.