driver sht85 register test header file
uint8_t sht85_set_heater(sht85_handle_t *handle, sht85_bool_t enable)
enable or disable the chip heater
uint8_t sht85_clear_status(sht85_handle_t *handle)
clear the current status
uint8_t sht85_get_serial_number(sht85_handle_t *handle, uint8_t sn[4])
get serial number
struct sht85_info_s sht85_info_t
sht85 information structure definition
uint8_t sht85_init(sht85_handle_t *handle)
initialize the chip
uint8_t sht85_set_repeatability(sht85_handle_t *handle, sht85_repeatability_t repeatability)
set the measurement repeatability
sht85_repeatability_t
sht85 repeatability enumeration definition
uint8_t sht85_deinit(sht85_handle_t *handle)
close the chip
uint8_t sht85_info(sht85_info_t *info)
get chip's information
uint8_t sht85_set_art(sht85_handle_t *handle)
set the chip art
uint8_t sht85_get_status(sht85_handle_t *handle, uint16_t *status)
get the current status
struct sht85_handle_s sht85_handle_t
sht85 handle structure definition
uint8_t sht85_get_repeatability(sht85_handle_t *handle, sht85_repeatability_t *repeatability)
get the measurement repeatability
@ SHT85_REPEATABILITY_HIGH
@ SHT85_REPEATABILITY_LOW
@ SHT85_REPEATABILITY_MEDIUM
uint8_t sht85_interface_iic_deinit(void)
interface iic bus deinit
uint8_t sht85_interface_iic_read_address16(uint8_t addr, uint16_t reg, uint8_t *buf, uint16_t len)
interface iic bus read with 16 bits register address
void sht85_interface_debug_print(const char *const fmt,...)
interface print format data
uint8_t sht85_interface_iic_init(void)
interface iic bus init
uint8_t sht85_interface_iic_write_address16(uint8_t addr, uint16_t reg, uint8_t *buf, uint16_t len)
interface iic bus write with 16 bits register address
void sht85_interface_delay_ms(uint32_t ms)
interface delay ms
#define DRIVER_SHT85_LINK_INIT(HANDLE, STRUCTURE)
initialize sht85_handle_t structure
#define DRIVER_SHT85_LINK_IIC_READ_ADDRESS16(HANDLE, FUC)
link iic_read_address16 function
#define DRIVER_SHT85_LINK_IIC_WRITE_ADDRESS16(HANDLE, FUC)
link iic_write_address16 function
#define DRIVER_SHT85_LINK_DELAY_MS(HANDLE, FUC)
link delay_ms function
#define DRIVER_SHT85_LINK_IIC_INIT(HANDLE, FUC)
link iic_init function
#define DRIVER_SHT85_LINK_DEBUG_PRINT(HANDLE, FUC)
link debug_print function
#define DRIVER_SHT85_LINK_IIC_DEINIT(HANDLE, FUC)
link iic_deinit function
uint8_t sht85_register_test(void)
register test
float supply_voltage_max_v
char manufacturer_name[32]
float supply_voltage_min_v