Home
last modified time | relevance | path

Searched refs:kpa_min (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/sensor/veaa_x_3/
Dveaa_x_3.c36 const uint8_t kpa_min; member
41 return cfg->kpa_max - cfg->kpa_min; in veaa_x_3_kpa_range()
56 if (val->val1 > cfg->kpa_max || val->val1 < cfg->kpa_min) { in veaa_x_3_attr_set()
62 tmp = val->val1 - cfg->kpa_min; in veaa_x_3_attr_set()
86 val->val1 = cfg->kpa_min; in veaa_x_3_attr_get()
142 val->val1 = (val->val1 / max_adc_val) + cfg->kpa_min; in veaa_x_3_channel_get()
164 LOG_DBG("Initializing %s with range %u-%u kPa", dev->name, cfg->kpa_min, cfg->kpa_max); in veaa_x_3_init()
198 (.kpa_max = 1000, .kpa_min = 5), \
200 (.kpa_max = 600, kpa_min = 3), (.kpa_max = 200, .kpa_min = 1))))