summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/hythygtemp.4 4.html
blob: b3b3dc0d3a3c21760fb4e309b7db451d8eb47650 (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
<table class="head">
  <tr>
    <td class="head-ltitle">HYTHYGTEMP(4)</td>
    <td class="head-vol">Device Drivers Manual</td>
    <td class="head-rtitle">HYTHYGTEMP(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">hythygtemp</code> &#x2014;
    <span class="Nd">Driver for IST-AG HYT-221/271/939 sensor chip via I2C
    bus</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">hythygtemp* at iic? addr 0x28</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">hythygtemp</code> driver provides
    measurements from the HYT-221/271/939 humidity/temperature sensors via the
    <a class="Xr">envsys(4)</a> framework. The
    <code class="Nm">hythygtemp</code> <var class="Ar">addr</var> argument
    selects the address at the <a class="Xr">iic(4)</a> bus. The sampling
    interval can be changed through the <a class="Xr">sysctl(8)</a> node
    <code class="Li">hw.hythygtemp0.interval</code>.</p>
<p class="Pp">The sensor chips can be reconfigured to respond to other addresses
    than the default value of 0x28 by external utilities, like for example the
    <span class="Pa">pkgsrc/sysutils/hytctl</span> package.</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>hw.hythygtemp0.interval</dt>
  <dd>Defines the sensor's sampling interval in seconds. It defaults to 50
      seconds.</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">envsys(4)</a>, <a class="Xr">iic(4)</a>,
    <a class="Xr">envstat(8)</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">hythygtemp</code> driver first appeared in
    <span class="Ux">NetBSD 7.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">hythygtemp</code> driver was written by
    <span class="An">Frank Kardel</span>
    &lt;<a class="Mt" href="mailto:kardel@NetBSD.org">kardel@NetBSD.org</a>&gt;
    and <span class="An">Frank Wille</span> &#x27E8;phx@NetBSD.org&#x27E9;.</p>
</section>
</div>
<table class="foot">
  <tr>
    <td class="foot-date">September 9, 2015</td>
    <td class="foot-os">NetBSD 10.1</td>
  </tr>
</table>