44 #if MODULE_SI7050 || MODULE_SI7051 || MODULE_SI7053 || MODULE_SI7054 || \ 
   47 #define SI70XX_HAS_HUMIDITY_SENSOR 0 
   49 #define SI70XX_HAS_HUMIDITY_SENSOR 1 
   89 #if SI70XX_HAS_HUMIDITY_SENSOR || DOXYGEN 
  110 #if SI70XX_HAS_HUMIDITY_SENSOR || DOXYGEN 
uint_fast8_t i2c_t
Default i2c_t type definition.
 
uint8_t si70xx_get_revision(const si70xx_t *dev)
Read the firmware revision of the sensor.
 
void si70xx_get_both(const si70xx_t *dev, uint16_t *humidity, int16_t *temperature)
Read the relative humidity and temperature from the sensor.
 
int16_t si70xx_get_temperature(const si70xx_t *dev)
Read the current temperature from the sensor.
 
int si70xx_init(si70xx_t *dev, const si70xx_params_t *params)
Initialize and reset the sensor.
 
uint8_t si70xx_get_id(const si70xx_t *dev)
Read the sensor id, to identifier the sensor variant.
 
uint16_t si70xx_get_relative_humidity(const si70xx_t *dev)
Read the relative humidity from the sensor.
 
uint64_t si70xx_get_serial(const si70xx_t *dev)
Read the sensor serial number.
 
@ SI70XX_ERR_NODEV
No valid device found on I2C bus.
 
@ SI70XX_ERR_I2C
An error occurred when reading/writing on I2C bus.
 
Low-level I2C peripheral driver interface definition.
 
Device initialization parameters.
 
i2c_t i2c_dev
I2C bus the sensor is connected to.
 
uint8_t address
sensor address
 
Si70xx device descriptor.
 
si70xx_params_t params
Device parameters.