xref: /netbsd-src/share/man/man4/tm121temp.4 (revision deaf5d690ec34c3f286aa9b9724782061d4072af)
1.\"	$NetBSD: tm121temp.4,v 1.6 2007/12/02 19:09:16 wiz Exp $
2.\"
3.\" Copyright (c) 2006 Garrett D'Amore
4.\" All rights reserved.
5.\"
6.\" Written by Garrett D'Amore.
7.\"
8.\" Redistribution and use in source and binary forms, with or without
9.\" modification, are permitted provided that the following conditions
10.\" are met:
11.\" 1. Redistributions of source code must retain the above copyright
12.\"    notice, this list of conditions and the following disclaimer.
13.\" 2. Redistributions in binary form must reproduce the above copyright
14.\"    notice, this list of conditions and the following disclaimer in the
15.\"    documentation and/or other materials provided with the distribution.
16.\" 3. The name of the author may not be used to endorse
17.\"    or promote products derived from this software without specific
18.\"    prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
21.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
24.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
26.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29.\" NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31.\"
32.Dd October 9, 2006
33.Dt TM121TEMP 4
34.Os
35.Sh NAME
36.Nm tm121temp
37.Nd Texas Instruments TMP121 temperature sensor
38.Sh SYNOPSIS
39.Cd "tm121temp0 at spi? slave 0"
40.Sh DESCRIPTION
41The
42.Nm
43driver provides support for the
44.Tn Texas Instruments
45(formerly
46.Tn Burr-Brown )
47TMP121 temperature sensor
48with the
49.Xr envsys 4
50API.
51These devices are connected to the host system with
52.Xr spi 4
53or
54.Tn Microwire
554-wire serial busses.
56The
57.Nm
58is capable of measuring temperatures with a 2 degree accuracy
59over the frame from -40 to 125 Celsius.
60Temperatures are reported with a
61granularity of 625 microKelvins.
62.Pp
63.Nm
64devices can transfer information at up to 10MHz, and support
65SPI mode 0.
66.Pp
67The device reports itself with
68.Xr envsys 4
69using the generic device name.
70This name can be overridden, by specifying an alternate name in the device
71property
72.Dq envsys-description .
73.Sh SEE ALSO
74.Xr envsys 4 ,
75.Xr spi 4 ,
76.Xr envstat 8
77.Sh HISTORY
78The
79.Nm
80driver was written by
81.An Garrett D'Amore
82and first appeared in
83.Nx 4.0 .
84