summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/ds2482ow.4 4.html
blob: 91fafc649de26fe20b8f37d4c40be9d391b66238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<table class="head">
  <tr>
    <td class="head-ltitle">DS2482OW(4)</td>
    <td class="head-vol">Device Drivers Manual</td>
    <td class="head-rtitle">DS2482OW(4)</td>
  </tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">ds2482ow</code> &#x2014; <span class="Nd">Driver
    for Maxim DS2482-100 and DS2482-800 IC2 to 1-Wire bridge</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp"><code class="Cd">ds2482ow* at iic? addr 0x18</code>
  <br/>
  <code class="Cd">ds2482ow* at iic? addr 0x19</code>
  <br/>
  <code class="Cd">ds2482ow* at iic? addr 0x1a</code>
  <br/>
  <code class="Cd">ds2482ow* at iic? addr 0x1b</code>
  <br/>
  <code class="Cd">ds2482ow* at iic? addr 0x1c DS2482-800 only</code>
  <br/>
  <code class="Cd">ds2482ow* at iic? addr 0x1d DS2482-800 only</code>
  <br/>
  <code class="Cd">ds2482ow* at iic? addr 0x1e DS2482-800 only</code>
  <br/>
  <code class="Cd">ds2482ow* at iic? addr 0x1f DS2482-800 only</code>
  <br/>
  <code class="Cd">onewire* at ds2482ow?</code></p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <code class="Nm">ds2482ow</code> driver provides 1 or 8
    <a class="Xr">onewire(4)</a> busses via an I2C interface. The
    <code class="Nm">ds2482ow</code> <var class="Ar">addr</var> argument selects
    the address at the <a class="Xr">iic(4)</a> bus. The chip generates all of
    the needed 1-Wire pulses on its own and provides for the pullup needed on
    the 1-Wire data line. The method that the chip uses for pullup can be
    changed through <a class="Xr">sysctl(8)</a> nodes.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYSCTL_VARIABLES"><a class="permalink" href="#SYSCTL_VARIABLES">SYSCTL
  VARIABLES</a></h1>
<p class="Pp">The following <a class="Xr">sysctl(3)</a> variables are
  provided:</p>
<dl class="Bl-tag">
  <dt id="hw.ds2482ow0.pullup.active"><a class="permalink" href="#hw.ds2482ow0.pullup.active"><code class="Li">hw.ds2482ow0.pullup.active</code></a></dt>
  <dd>If true, turn on active pullup on all channels supported by the chip.</dd>
  <dt id="hw.ds2482ow0.pullup.strong"><a class="permalink" href="#hw.ds2482ow0.pullup.strong"><code class="Li">hw.ds2482ow0.pullup.strong</code></a></dt>
  <dd>If true, turn on strong pullup on all channels that the chip supports and
      on the DS2482-100 chip, allow the PCTLZ pin to provide addition current to
      the 1-Wire bus. This mode conflicts with a 1-Wire reset and will be
      disabled if that command is sent to the 1-Wire bus.
    <p class="Pp"></p>
  </dd>
  <dt id="If"><a class="permalink" href="#If"><code class="Li">If neither active
    pullup or strong pullup are enabled the chip will</code></a></dt>
  <dd>use an internal passive resister.</dd>
  <dt id="hw.ds2482ow0.debug"><a class="permalink" href="#hw.ds2482ow0.debug"><code class="Li">hw.ds2482ow0.debug</code></a></dt>
  <dd>If the driver is compiled with <code class="Dv">DS2482_DEBUG</code>, this
      node will appear and can be used to set the debugging level.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
  ALSO</a></h1>
<p class="Pp"><a class="Xr">onewire(4)</a>, <a class="Xr">iic(4)</a>,
    <a class="Xr">sysctl(8)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
<p class="Pp">The <code class="Nm">ds2482ow</code> driver first appeared in
    <span class="Ux">NetBSD 11.0</span>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">The <code class="Nm">ds2482ow</code> driver was written by
    <span class="An">Brad Spencer</span>
    &lt;<a class="Mt" href="mailto:brad@anduin.eldar.org">brad@anduin.eldar.org</a>&gt;.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
<p class="Pp">The DS2482 chip supports overdrive speed on a 1-Wire bus. This
    driver does not support overdrive speed mode.</p>
</section>
</div>
<table class="foot">
  <tr>
    <td class="foot-date">October 31, 2024</td>
    <td class="foot-os">NetBSD 10.1</td>
  </tr>
</table>