Searched refs:SI7006_ctx (Results 1 – 1 of 1) sorted by relevance
/AliOS-Things-master/components/sensor/drv/ |
A D | drv_temp_humi_si_si7006.c | 36 i2c_dev_t SI7006_ctx = { variable 74 ret = sensor_drv_i2c_master_send(&SI7006_ctx, ®, 1, 1000); in drv_temp_si_si7006_read() 82 ret = sensor_drv_i2c_master_recv(&SI7006_ctx, read_data, 2, 1000); in drv_temp_si_si7006_read() 118 ret = drv_temp_si_si7006_set_power_mode(&SI7006_ctx, DEV_POWER_OFF); in drv_temp_si_si7006_close() 131 ret = drv_temp_si_si7006_set_power_mode(&SI7006_ctx, DEV_POWER_ON); in drv_temp_si_si7006_open() 199 ret = sensor_drv_i2c_master_send(&SI7006_ctx, ®, 1, 1000); in drv_humi_si_si7006_read() 207 ret = sensor_drv_i2c_master_recv(&SI7006_ctx, read_data, 2, 1000); in drv_humi_si_si7006_read() 241 ret = drv_temp_si_si7006_set_power_mode(&SI7006_ctx, DEV_POWER_OFF); in drv_humi_si_si7006_close() 254 ret = drv_temp_si_si7006_set_power_mode(&SI7006_ctx, DEV_POWER_ON); in drv_humi_si_si7006_open()
|
Completed in 2 milliseconds