---
name: "or2"
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/or2"
---

# or2(9)

Two-input OR gate

## NAME

or2 - Two-input OR gate

## SYNOPSIS

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

## FUNCTIONS

- **or2.***N*

  ## PINS

- **or2.*N*.in0 bit in**

  - **or2.*N*.in1 bit in**

  - **or2.*N*.out bit out**

  **out** is computed from the value of **in0** and **in1** according to the following rule:

  - **in0=FALSE in1=FALSE**

    **out=FALSE**

  - Otherwise,

    **out=TRUE**

## SEE ALSO

[**logic**(9)](/logic/9.md)

## AUTHOR

Jeff Epler

## LICENSE

GPL
