xref: /openbsd/share/man/man4/lisa.4 (revision 09467b48)
1.\"	$OpenBSD: lisa.4,v 1.4 2018/01/12 04:36:44 deraadt Exp $
2.\"
3.\" Copyright (c) 2009 Constantine A. Murenin <cnst+openbsd@bugmail.mojo.ru>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: January 12 2018 $
18.Dt LISA 4
19.Os
20.Sh NAME
21.Nm lisa
22.Nd STMicroelectronics LIS331DL MEMS motion sensor
23.Sh SYNOPSIS
24.Cd "lisa* at iic?"
25.Sh DESCRIPTION
26The
27.Nm
28driver provides support for the ST LIS331DL
293-axis digital output accelerometer.
30A total of 3 sensors are provided, one for each axis
31(X, Y and Z).
32Each reading from LIS331DL is represented by an
338-bit 2's complement number.
34.Pp
35Sensor values are made available through the
36.Dv HW_SENSORS
37.Xr sysctl 2
38interface,
39and can be monitored with the
40.Xr systat 1
41.Ar sensors
42view,
43.Xr sensorsd 8
44and
45.Xr sysctl 8
46.Ar hw.sensors .
47.Sh SEE ALSO
48.Xr systat 1 ,
49.Xr sysctl 2 ,
50.Xr iic 4 ,
51.Xr intro 4 ,
52.Xr sensorsd 8 ,
53.Xr sysctl 8
54.Rs
55.%T LIS331DL MEMS motion sensor
56.%N Rev 3
57.%D April 2008
58.%I STMicroelectronics
59.\" .%U http://www.stm.com/stonline/products/literature/ds/13951.pdf
60.Re
61.Sh HISTORY
62The
63.Nm
64driver first appeared in
65.Ox 4.7 .
66.Sh AUTHORS
67The
68.Nm
69driver was written by
70.An Constantine A. Murenin Aq Mt cnst@openbsd.org ,
71University of Waterloo.
72