90#if !defined(CONFIG_HSC_I2C_ADDR) || defined(DOXYGEN)
91#define CONFIG_HSC_I2C_ADDR (0x28)
93#if !defined(CONFIG_HSC_RANGE) || defined(DOXYGEN)
94#define CONFIG_HSC_RANGE (40U)
int hsc_read_pressure(const hsc_t *dev, int32_t *dest)
Read pressure value from the given HSC device, returned in uBar.
int hsc_init(hsc_t *dev, const hsc_params_t *params)
Initialize the given HSC device.
int hsc_read_temperature(const hsc_t *dev, int16_t *dest)
Read temperature value from the given HSC device, returned in 0.1°C.
uint_fast8_t i2c_t
Default i2c_t type definition.
Low-level I2C peripheral driver interface definition.
Device initialization parameters.
uint8_t i2c_addr
I2C address.
i2c_t i2c_dev
I2C device which is used.
uint8_t hsc_range
Pressure range in mBar.
Device descriptor for the HSC sensor.
hsc_params_t params
Device initialization parameters.
Functionality for reading [S]ensor [A]ctuator [U]ber [L]ayer sensors as SenML.