SI70XXTEMP(4) | Device Drivers Manual | SI70XXTEMP(4) |
si70xxtemp
—
Driver for Silicon Labs SI7013/SI7020/SI7021, HTU21D and
SHT21 sensor chip via I2C bus
si70xxtemp* at iic? addr 0x40
The si70xxtemp
driver provides
measurements from the SI7013/SI7020/SI7021 humidity/temperature sensors via
the envsys(4) framework. The
si70xxtemp
addr locator
selects the address at the iic(4)
bus. The resolution, heater control and crc validity can be changed through
sysctl(8) nodes.
The following sysctl(8) variables are provided:
hw.si70xxtemp0.resolutions
hw.si70xxtemp0.resolution
hw.si70xxtemp.resolutions
.hw.si70xxtemp0.ignorecrc
hw.si70xxtemp0.vddok
hw.si70xxtemp0.heateron
hw.si70xxtemp0.heaterstrength
Some HTU21D chips do not support a heater register. These chips are detected and the heater features of the driver will be disabled.
hw.si70xxtemp0.debug
SI70XX_DEBUG
, this
node will appear and can be used to set the debugging level.hw.si70xxtemp0.readattempts
hw.si70xxtemp0.clockstretch
The si70xxtemp
driver first appeared in
NetBSD 8.0.
The si70xxtemp
driver was written by
Brad Spencer
<brad@anduin.eldar.org>.
December 28, 2017 | NetBSD 10.99 |