Scroll to navigation

MUX16(9) HAL Component MUX16(9)

NAME

mux16 - Select from one of sixteen input values

SYNOPSIS

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

FUNCTIONS

PINS

This signifies the input will use Gray code instead of binary. Gray code is a good choice when using physical switches because for each increment only one select input changes at a time.

This suppresses changing the output if all select lines are false. This stops unwanted jumps in output between transitions of input. but make in00 unavailable.

sets debouce time in seconds. eg. .10 = a tenth of a second input must be stable this long before outputs changes. This helps to ignore 'noisy' switches.

Together, these determine which inN value is copied to out.


Follows the value of one of the inN values according to the four sel values and whether use-graycode is active. The s32 value will be trunuated and limited to the max and min values of signed values.

array of selectable outputs

PARAMETERS

Current value of the internal debounce timer
for debugging.
Current value of the internal selection variable after conversion
for debugging

LICENSE

GPL

2022-04-06 LinuxCNC Documentation