OpenGrok
Cross Reference: si70xxvar.h
xref
: /
src
/
sys
/
dev
/
i2c
/
si70xxvar.h
Home
|
History
|
Annotate
|
Download
|
only in
i2c
History log of
/src/sys/dev/i2c/si70xxvar.h
Revision
Date
Author
Comments
1.4
23-Jan-2025
brad
The SI70XX temperature and humidity sensor has a set of commands that
can do the measurement by using I2C clock stretching. Add a sysctl to
allow the driver to use those commands. This is more efficient than
doing the usual polling method of getting the measurements back from
the chip, but only works if the I2C master supports clock stretching.
Also... change the use of the Read without Stop with a command and
zero length read to just a Write of the command in the non-clock
stretching case. I was confused by the datasheet when I write the
driver initially. This allows the driver to work with more I2C
masters.
Also... there were a couple of cases where more bytes were read on
the bus than would be sent by the chip. Fix those. The second part
of the serial number only has 6 bytes not 8, the firmware version has
1 byte not 8.
1.3
11-Nov-2021
brad
branches: 1.3.10;
Some HTU21D chips do not have a heater register and apparently no
heater element. Disable the heater features in the driver when that
condition is detected and let the attachment succeed. Also mention
that the SHT21 is another clone.
1.2
29-Dec-2017
christos
add RCSID's
1.1
28-Dec-2017
christos
PR/52848: Brad Spencer: Two environment sensor drivers: AM2315 and SI70xx
XXX: Please check that my refactoring did not break them!
1.3.10.1
02-Aug-2025
perseant
Sync with HEAD
Indexes created Mon Oct 20 08:09:54 GMT 2025