Machinekit Documentation
HAL Component — ANDNV2
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
andnv2 — N input AND gate
SYNOPSIS
andnv2
USAGE SYNOPSIS
loadrt andnv2
OR
newinst andnv2 <newinstname> [ pincount=N | iprefix=prefix ] [instanceparamX=X | argX=X ]
( args in [ ] denote possible args and parameters, may not be used in all components )
DESCRIPTION
\ \fBout\fR is computed from the result of logic AND applied to all input pins.
FUNCTIONS
andnv2.N.funct ( OR <newinstname>.funct )
PINS
INST_PARAMETERS
pincount int (default: 2)
AUTHOR
Alexander Roessler
LICENCE
GPL