| 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.resolutionshw.si70xxtemp0.resolutionhw.si70xxtemp.resolutions.hw.si70xxtemp0.ignorecrchw.si70xxtemp0.vddokhw.si70xxtemp0.heateronhw.si70xxtemp0.heaterstrengthSome HTU21D chips do not support a heater register. These chips are detected and the heater features of the driver will be disabled.
hw.si70xxtemp0.debugSI70XX_DEBUG, this
node will appear and can be used to set the debugging level.hw.si70xxtemp0.readattemptshw.si70xxtemp0.clockstretchThe si70xxtemp driver first appeared in
NetBSD 8.0.
The si70xxtemp driver was written by
Brad Spencer
<brad@anduin.eldar.org>.
| December 28, 2017 | NetBSD 11.0 |