multiswitch(9)

multiswitch9

This component toggles between a specified number of output bits.

Usage

loadrt multiswitch personality=P [cfg=N]

cfg

cfg should be a comma-separated list of sizes, for example cfg=2,4,6 would create 3 instances of 2, 4 and 6 bits respectively. Ignore the "personality" parameter, that is auto-generated.

Functions

multiswitch.N (requires a floating-point thread)

Pins

multiswitch.N.up bit in (default: false)

Receives signal to toggle up

multiswitch.N.down bit in (default: false)

Receives signal to toggle down

multiswitch.N.bit-MM bit out (MM=00..personality) (default: false)

Output bits

Parameters

multiswitch.N.top-position u32 rw

Number of positions

multiswitch.N.position s32 rw

Current state (may be set in the HAL)

Releases

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

  1. 12
  2. 13

Author

ArcEye [email protected] / Andy Pugh [email protected]

License

GPL

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