GPIOOW(4)
πΈ NAME πΈ
okay so, bestie, welcome to GPIOOW(4) β the gpioow page from the Kernel Interfaces Manual. It's giving 1-Wire bus bit-banging through a GPIO pin, and it's lowkey iconic. π
β¨ SYNOPSIS β¨
gpioow* at gpio? offset 0 mask 0x1
gpioow* at gpio?
onewire* at gpioow?
π DESCRIPTION π
The gpioow driver lets you bit-bang a 1-Wire bus as a master using exactly one GPIO pin. That pin is the data signal, bestie β it's the whole vibe. The GPIO pin has to be able to drive an output and read an input, no cap.
The pin number gets specified in the kernel configuration with the offset locator. The mask locator should always be 0x1.
tiny heads-up: thatmaskthing is0x1β fr fr, don't be out here improvising. π«Ά
The offset and mask can also be specified when gpioow is attached at runtime using the GPIOATTACH ioctl(2) on the gpio(4) device. Slay. β¨
π₯ SEE ALSO π₯
π¦ HISTORY π¦
The gpioow driver first appeared in OpenBSD 4.0 and NetBSD 4.0. Periodt. π
π AUTHORS π
The gpioow driver was written by Alexander Yurchenko <grange@openbsd.org> and was ported to NetBSD by Jeff Rizzo <riz@NetBSD.org>. We stan. π
cute sign-off time, bestie: this page's footer energy is Debian, dated July 19, 2009 β mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms