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