MUX8(9) | HAL Component | MUX8(9) |
NAME¶
mux8 - Select from one of eight input values
SYNOPSIS¶
loadrt mux8 [count=N|names=name1[,name2...]]
FUNCTIONS¶
PINS¶
- mux8.N.sel0 bit in
-
- mux8.N.sel1 bit in
-
- mux8.N.sel2 bit in
- Together, these determine which inN value is copied to out.
- mux8.N.out float out
- Follows the value of one of the inN values according to the three sel values
- sel2=FALSE, sel1=FALSE, sel0=FALSE
- out follows in0
- sel2=FALSE, sel1=FALSE, sel0=TRUE
- out follows in1
- sel2=FALSE, sel1=TRUE, sel0=FALSE
- out follows in2
- sel2=FALSE, sel1=TRUE, sel0=TRUE
- out follows in3
- sel2=TRUE, sel1=FALSE, sel0=FALSE
- out follows in4
- sel2=TRUE, sel1=FALSE, sel0=TRUE
- out follows in5
- sel2=TRUE, sel1=TRUE, sel0=FALSE
- out follows in6
- sel2=TRUE, sel1=TRUE, sel0=TRUE
- out follows in7
AUTHOR¶
Stuart Stevenson
LICENSE¶
GPL
2023-02-10 | LinuxCNC Documentation |