---
name: "w1_touch_bit"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/w1_touch_bit"
---

# w1\_touch\_bit(9)

Generates a write-0 or write-1 cycle and samples the level.

## NAME

w1\_touch\_bit - Generates a write-0 or write-1 cycle and samples the level.

## SYNOPSIS

**u8 w1\_touch\_bit(struct w1\_master \*** *dev***, int** *bit***);**

## ARGUMENTS

*dev*

the master device

*bit*

0 - write a 0, 1 - write a 0 read the level

## AUTHOR

**David Fries** \<David@Fries.net\>

Author.

## COPYRIGHT
