1.\" $OpenBSD: tsl.4,v 1.10 2015/10/02 09:29:02 sobrado Exp $ 2.\" 3.\" Copyright (c) 2005 Mark Kettenis <kettenis@openbsd.org> 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: October 2 2015 $ 18.Dt TSL 4 19.Os 20.Sh NAME 21.Nm tsl 22.Nd TAOS TSL2560/61 light sensor 23.Sh SYNOPSIS 24.Cd "tsl* at iic?" 25.Sh DESCRIPTION 26The 27.Nm 28driver provides support for the TAOS TSL2560/61 light-to-digital 29converters that transform light intensity into a digital signal 30output. 31These sensors contain a broadband photodiode and an 32infrared-responding photodiode allowing the ambient light level to be 33determined, as experienced by the human eye. 34This illuminance (in lux) is made available through the 35.Xr sysctl 8 36interface and can, for example, be used to adjust the backlight of LCD 37screens to lighting conditions. 38.Sh SEE ALSO 39.Xr iic 4 , 40.Xr intro 4 , 41.Xr sensorsd 8 , 42.Xr sysctl 8 43.Sh HISTORY 44The 45.Nm 46driver first appeared in 47.Ox 3.9 . 48.Sh AUTHORS 49.An -nosplit 50The 51.Nm 52driver was written by 53.An Mark Kettenis Aq Mt kettenis@openbsd.org . 54