---
name: "w1_write_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_write_bit"
---

# w1\_write\_bit(9)

Generates a write-0 or write-1 cycle.

## NAME

w1\_write\_bit - Generates a write-0 or write-1 cycle.

## SYNOPSIS

**void w1\_write\_bit(struct w1\_master \*** *dev***, int** *bit***);**

## ARGUMENTS

*dev*

the master device

*bit*

bit to write

## DESCRIPTION

Only call if dev-\>bus\_master-\>touch\_bit is NULL

## AUTHOR

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

Author.

## COPYRIGHT
