Synopsis
CTL_STATUS_t sht2x_get_resolution(CTL_HUMIDITY_SENSOR_t *self);
Description

sht2x_get_resolution reads the configured resolution the sensor self.

Return Value

sht2x_get_resolution returns an extended status code: non-negative values indicate a successful read, and value, of the resolution.

Thread Safety

sht2x_get_resolution 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.