ConstThe address the part answers on with its ADDR pin low.
The address it answers on with ADDR high.
The command words a driver writes.
Leave periodic mode.
Clear the status register.
Fetch the latest periodic result.
The general-call reset, addressed to 0x00.
Turn the on-die heater off.
Turn the on-die heater on.
Accelerated response time, four measurements per second.
Periodic at four measurements per second, high repeatability.
Periodic at four measurements per second, low repeatability.
Periodic at four measurements per second, medium repeatability.
Periodic at one measurement every two seconds, high repeatability.
Periodic at one measurement every two seconds, low repeatability.
Periodic at one measurement every two seconds, medium repeatability.
Periodic at one measurement per second, high repeatability.
Periodic at one measurement per second, low repeatability.
Periodic at one measurement per second, medium repeatability.
Periodic at ten measurements per second, high repeatability.
Periodic at ten measurements per second, low repeatability.
Periodic at ten measurements per second, medium repeatability.
Periodic at two measurements per second, high repeatability.
Periodic at two measurements per second, low repeatability.
Periodic at two measurements per second, medium repeatability.
Read the status register.
Single shot, high repeatability, polled rather than stretched.
Single shot, high repeatability, holding the clock until the result is ready.
Single shot, low repeatability, polled.
Single shot, low repeatability, with clock stretching.
Single shot, medium repeatability, polled.
Single shot, medium repeatability, with clock stretching.
Soft reset.
The shortest gap the datasheet allows between two commands, in microseconds.
The status word the part powers up with.
Converts a raw temperature word to degrees Celsius.
The 16-bit word.
The temperature.
Computes the Sensirion CRC-8 the part appends to every word.
The bytes the checksum covers.
The checksum.
Converts a raw temperature word to degrees Fahrenheit.
The 16-bit word.
The temperature.
Builds the raw humidity word for a humidity in milli-percent.
The relative humidity.
The 16-bit word, clamped to the part's range.
Builds the raw humidity word for a relative humidity percentage.
The relative humidity.
The 16-bit word, clamped to the part's range.
Returns the interval between periodic measurements.
The rate in force.
The interval in microseconds.
Returns how long a measurement may take.
The setting in force.
The datasheet's worst case, in microseconds.
Builds the six bytes the part sends for a pair of raw words.
The inverse of parseMeasurement.
The raw temperature word.
The raw humidity word.
The frame, each word followed by its CRC.
Converts a raw temperature word to milli-degrees Celsius.
The 16-bit word.
The temperature, exact in integer arithmetic.
Converts a raw temperature word to milli-degrees Fahrenheit.
The 16-bit word.
The temperature, exact in integer arithmetic.
Converts a raw humidity word to milli-percent relative humidity.
The 16-bit word.
The humidity, exact in integer arithmetic.
Parses and CRC-checks a six-byte measurement frame.
The frame as the device sent it, each word followed by its CRC.
The raw words and the physical values they carry.
Parses and CRC-checks a three-byte status frame.
The status word and its checksum.
The status word and its flags.
Returns the command word that starts periodic measurement.
How much the part should average.
How often it should measure.
The command word.
Converts a raw humidity word to a relative humidity percentage.
The 16-bit word.
The humidity.
Returns the command word for a single-shot measurement.
How much the part should average.
Whether the part holds the clock until the result is ready, rather than answering a poll with a NACK.
The command word.
Builds the three bytes the part sends for a status word.
The status register.
The word and its checksum.
Splits a status word into its flags.
The status register, as read from the device.
The flags the word carries.
Builds the raw temperature word for a temperature in degrees Celsius.
The temperature.
The 16-bit word, clamped to the part's range.
Builds the raw temperature word for a temperature in milli-degrees Celsius.
The temperature.
The 16-bit word, clamped to the part's range.
Builds the raw temperature word for a temperature in milli-degrees Fahrenheit.
The temperature.
The 16-bit word, clamped to the part's range.
Returns how long a measurement typically takes.
The setting in force.
The datasheet's typical case, in microseconds.
Builds the three bytes the part sends for a word, its checksum last.
The word.
The two data bytes and their checksum.
A Sensirion SHT3x humidity and temperature sensor.