.\"******************************************************************* .\" .\" This file was extracted from hal/components/gray2bin.comp using halcompile.g. .\" Modify the source file. .\" .\"******************************************************************* .TH GRAY2BIN "9" "2024-03-13" "LinuxCNC Documentation" "HAL Component" .SH NAME gray2bin \- convert a gray-code input to binary .SH SYNOPSIS .HP .B loadrt gray2bin [count=\fIN\fB|names=\fIname1\fB[,\fIname2...\fB]] .SH DESCRIPTION Converts a gray-coded number into the corresponding binary value .SH FUNCTIONS .TP \fBgray2bin.\fIN\fB\fR .SH PINS .TP .B gray2bin.\fIN\fB.in\fR u32 in \fR gray code in .TP .B gray2bin.\fIN\fB.out\fR u32 out \fR binary code out .SH AUTHOR Andy Pugh .SH LICENSE GPL