2 .\" Copyright (c) 2015 M. Warner Losh <imp@FreeBSD.org>
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. The name of the author may not be used to endorse or promote products
10 .\" derived from this software without specific prior written permission.
12 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
13 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
15 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
16 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
18 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .Dd September 22, 2016
34 .Nm OWLL_REASET_AND_PRESENCE
35 .Nd Dallas Semiconductor 1-Wire Link Layer Interface
38 .Fn OWLL_WRITE_ONE "device_t lldev" "struct ow_timing *timing"
40 .Fn OWLL_WRITE_ZERO "device_t lldev" "struct ow_timing *timing"
42 .Fn OWLL_READ_DATA "device_t lldev" "struct ow_timing *timing" "int *bit"
44 .Fn OWLL_RESET_AND_PRESENCE "device_t lldev" "struct ow_timing *timing" "int *bit"
48 interface provides access to the link layer of the Dallas
49 Semiconductor 1-Wire from upper layers of the protocol.
54 writes a one bit or a zero bit respectively on the 1-Wire bus.
57 reads one bit from the 1-Wire bus.
58 This is often referred to as a
60 in the 1-Wire device data sheets.
63 .Fn OWLL_RESET_AND_PRESENCE
64 function starts a reset sequence and detects if any device(s) are
66 This is the beginning of all 1-Wire transactions.
68 This interface is intended to be used only by the
70 device to talk to the low-level bus.
71 By convention, the device that implements this interface is called
73 Only devices that implement
75 should call these interfaces.
82 is a registered trademark of Maxim Integrated Products, Inc.
86 driver first appeared in
91 device driver and this manual page were written by