Machinekit Documentation
HAL Component — MUXN_U32
INSTANTIABLE COMPONENTS — General
All instantiable components can be loaded in two manners
Using loadrt with or without count= | names= parameters as per legacy components
Using newinst, which names the instance and allows further parameters and arguments
primarily pincount= which can set the number of pins created for that instance (where applicable)
NAME
muxn_u32 — Select from one of N input values, U32
SYNOPSIS
muxn_u32
USAGE SYNOPSIS
loadrt muxn_u32
OR
newinst muxn_u32 <newinstname> [ pincount=N | iprefix=prefix ] [instanceparamX=X | argX=X ]
( args in [ ] denote possible args and parameters, may not be used in all components )
FUNCTIONS
muxn_u32.N.funct ( OR <newinstname>.funct (requires a floating-point thread) )
PINS
muxn_u32.N.sel s32 in (default: 0) ( OR <newinstname>.sel s32 in (default: 0) )
muxn_u32.N.out u32 out ( OR <newinstname>.out u32 out ) - Follows the value of \fBin<M>\fR whereas M is the value of the \fBsel\fR input. If \fBsel\fR is not in the range of available inputs 0 is output.
muxn_u32.N.in%01d u32 in (M=0..pincount) ( OR <newinstname>.in%01d u32 in (M=0..pincount) )
INST_PARAMETERS
pincount int (default: 2)
AUTHOR
Alexander Roessler
LICENCE
GPL