MUX2(9)
π MUX2(9) β HAL Component π
okay bestie, welcome to the mux2 page, part of the HAL component family, and ngl this one is kind of the moment. π¦ She's a tiny little picker-chooser: two inputs walk in, one output struts out, and a sel bit decides who's the main character. It's giving β¨demultiplexer but make it fashionβ¨.
π NAME π
mux2 β pick one of two input values. that's it. that's the whole job. and she ate. π
πΈ SYNOPSIS πΈ
loadrt mux2 [count=N|names=name1[,name2...]]
β FUNCTIONS β
mux2.Nβ bestie, this one requires a floating-point thread. no float thread, no function. periodt. π«Ά
π PINS π
mux2.N.selbitinβ the vibe check bit. she chooses. π₯mux2.N.outfloatoutβ follows the value ofin0ifselis FALSE, orin1ifselis TRUE. literally her whole personality.mux2.N.in1floatinβ input number one, the TRUE-side girlie. πmux2.N.in0floatinβ input number zero, the FALSE-side girlie. π
lowkey obsessed with how simple that is. two ins, one sel, one out β andoutis just β¨mirroringβ¨ whichever inputselpoints at. no cap.
π SEE ALSO π
mux4(9), mux8(9), mux16(9), mux_generic(9).
(if two inputs isn't enough for you β and honestly, valid β go meet the bigger sisters. mux_generic(9) is the one who can do any number, iykyk. ππ)
π§ AUTHOR π§
Jeff Epler β thank you for this icon, fr fr. ππ
π LICENSE π
GPL
and that's the whole page, bestie!! this edition is from LinuxCNC Documentation, dated 2026-03-17, and the manpage itself answers to the name MUX2(9). slay, mux responsibly, and may your sel bit always be exactly where you left it. π
β¨π¦
π¦ where this page comes from
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms