CTL_STATUS_t sht2x_write_user(CTL_HUMIDITY_SENSOR_t *self,
                              int value);

sht2x_write_user write the user register of the sensor self to value.

Return Value

sht2x_write_user returns a standard status code.

Thread Safety

sht2x_write_user is thread-safe if the transport member in self is thread-safe. This requires that a mutex is associated with the I2C bus provided when calling sht2x_initialize_i2c.