The configuration the driver writes.
Switches the on-die heater, which runs only during acquisitions, on or off.
Checks the part is an HDC1080 and writes the configuration. Rejects when nothing answers or another part does.
Triggers one acquisition of both channels and resolves with them, initializing the part
first if init has not run. Rejects when the part does not acknowledge the read, which
it refuses until its results are ready.
A Texas Instruments HDC1080 driven over an I2C bus, measuring temperature then humidity from one trigger.