.\"******************************************************************* .\" .\" This file was extracted from hal/components/tristate_bit.comp using halcompile.g. .\" Modify the source file. .\" .\"******************************************************************* .TH TRISTATE_BIT "9" "2023-02-10" "LinuxCNC Documentation" "HAL Component" .SH NAME tristate_bit \- Place a signal on an I/O pin only when enabled, similar to a tristate buffer in electronics .SH SYNOPSIS .HP .B loadrt tristate_bit [count=\fIN\fB|names=\fIname1\fB[,\fIname2...\fB]] .SH FUNCTIONS .TP \fBtristate-bit.\fIN\fB\fR If \fBenable\fR is TRUE, copy \fBin\fR to \fBout\fR. .SH PINS .TP .B tristate-bit.\fIN\fB.in\fR bit in \fR Input value .TP .B tristate-bit.\fIN\fB.out\fR bit io \fR Output value .TP .B tristate-bit.\fIN\fB.enable\fR bit in \fR When TRUE, copy in to out .SH AUTHOR Jeff Epler .SH LICENSE GPL