head	1.1;
access;
symbols
	netbsd-11-0-RC6:1.1
	netbsd-11-0-RC5:1.1
	netbsd-11-0-RC4:1.1
	netbsd-11-0-RC3:1.1
	netbsd-11-0-RC2:1.1
	netbsd-11-0-RC1:1.1
	perseant-exfatfs-base-20250801:1.1
	netbsd-11:1.1.0.12
	netbsd-11-base:1.1
	netbsd-10-1-RELEASE:1.1
	perseant-exfatfs-base-20240630:1.1
	perseant-exfatfs:1.1.0.10
	perseant-exfatfs-base:1.1
	netbsd-10-0-RELEASE:1.1
	netbsd-10-0-RC6:1.1
	netbsd-10-0-RC5:1.1
	netbsd-10-0-RC4:1.1
	netbsd-10-0-RC3:1.1
	netbsd-10-0-RC2:1.1
	thorpej-ifq:1.1.0.8
	thorpej-ifq-base:1.1
	thorpej-altq-separation:1.1.0.6
	thorpej-altq-separation-base:1.1
	netbsd-10-0-RC1:1.1
	netbsd-10:1.1.0.4
	netbsd-10-base:1.1
	bouyer-sunxi-drm:1.1.0.2
	bouyer-sunxi-drm-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2021.10.14.13.54.46;	author brad;	state Exp;
branches;
next	;
commitid	7QACqf2Ulq0rEMcD;


desc
@@


1.1
log
@

A driver for the Sensirion SGP40 MOx gas sensor.  An example of this
chip from Adafruit is:

https://www.adafruit.com/product/4829

This is a moderately priced gas sensor that can detect volatile
organic compounds in the air.  The driver uses the 3-clause BSD
licensed VOC algorithm provided by Sensirion to turn the raw sensor
metric into a VOC index which can indicate the quality of the air in a
particular indoor environment.  All published functions of the chip
are supported and one unpublished feature.
@
text
@.include "../Makefile.inc"

.PATH:	${S}/dev/i2c

KMOD=	sgp40mox
IOCONF=	sgp40mox.ioconf
SRCS=	sgp40.c
SRCS+=	sensirion_voc_algorithm.c

WARNS=	3

.include <bsd.kmodule.mk>
@
