Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Add information about user settable resolutio...



details:   https://anonhg.NetBSD.org/src/rev/5a4e58e45914
branches:  trunk
changeset: 790496:5a4e58e45914
user:      rkujawa <rkujawa%NetBSD.org@localhost>
date:      Tue Oct 15 11:22:58 2013 +0000

description:
Add information about user settable resolution via sysctl.

diffstat:

 share/man/man4/mcp980x.4 |  15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r bae18bb2a48d -r 5a4e58e45914 share/man/man4/mcp980x.4
--- a/share/man/man4/mcp980x.4  Tue Oct 15 10:27:55 2013 +0000
+++ b/share/man/man4/mcp980x.4  Tue Oct 15 11:22:58 2013 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: mcp980x.4,v 1.2 2013/07/20 21:39:58 wiz Exp $
+.\" $NetBSD: mcp980x.4,v 1.3 2013/10/15 11:22:58 rkujawa Exp $
 .\"
 .\" Copyright (c) 2013 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 8, 2013
+.Dd October 15, 2013
 .Dt MCP980X 4
 .Os
 .Sh NAME
@@ -38,10 +38,19 @@
 .Sh DESCRIPTION
 The
 .Nm
-driver provides minimal support for the MCP980x series of temperature sensors.
+driver provides support for the MCP980x series of temperature sensors.
 It allows reporting ambient temperature through the
 .Xr envsys 4
 API.
+.Sh SYSCTL VARIABLES
+The following
+.Xr sysctl 3
+variable are provided:
+.Bl -tag -width machdep.mcp980x0.res
+.It Va machdep.mcp980x0.res
+ADC resolution (integer).
+Valid values are 0-3, where 0 is 9-bit (0.5 Celsius degree) and 3 is 12-bit
+(0.0625 Celsius degree) resolution.
 .Sh SEE ALSO
 .Xr envsys 4
 .Sh HISTORY



Home | Main Index | Thread Index | Old Index