---
name: "tristate_bit"
section: "9"
platform: "linux"
package: "linuxcnc-uspace"
version: "1:2.9.4-2+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tristate_bit"
---

# tristate\_bit(9)

Place a signal on an I/O pin only when enabled, similar to a tristate buffer in electronics

## NAME

tristate\_bit - Place a signal on an I/O pin only when enabled, similar to a tristate buffer in electronics

## SYNOPSIS

**loadrt tristate\_bit \[count=*N*\|names=*name1*\[,*name2...*\]\]**

## FUNCTIONS

- **tristate-bit.***N*

  If **enable** is TRUE, copy **in** to **out**.

## PINS

- **tristate-bit.*N*.in bit in**

  Input value

- **tristate-bit.*N*.out bit io**

  Output value

- **tristate-bit.*N*.enable bit in**

  When TRUE, copy in to out

## AUTHOR

Jeff Epler

## LICENSE

GPL
