Searched refs:hp206c (Results 1 – 5 of 5) sorted by relevance
106 struct hp206c_device_data *hp206c = dev->data; in hp206c_osr_set() local117 hp206c->osr = i; in hp206c_osr_set()166 struct hp206c_device_data *hp206c = dev->data; in hp206c_wait_dev_ready() local169 k_timer_start(&hp206c->tmr, K_MSEC(timeout_ms), K_NO_WAIT); in hp206c_wait_dev_ready()170 k_timer_status_sync(&hp206c->tmr); in hp206c_wait_dev_ready()186 struct hp206c_device_data *hp206c = dev->data; in hp206c_adc_acquire() local188 if (hp206c_cmd_send(dev, HP206C_CMD_ADC_CVT | (hp206c->osr << 2)) < 0) { in hp206c_adc_acquire()192 return hp206c_wait_dev_ready(dev, hp206c_adc_time_ms[hp206c->osr]); in hp206c_adc_acquire()286 struct hp206c_device_data *hp206c = dev->data; in hp206c_init() local300 k_timer_init(&hp206c->tmr, NULL, NULL); in hp206c_init()
5 zephyr_library_sources(hp206c.c)
52 add_subdirectory_ifdef(CONFIG_HP206C hp206c)
131 source "drivers/sensor/hp206c/Kconfig"
115 test_i2c_hp206c: hp206c@f {116 compatible = "hoperf,hp206c";