Home
last modified time | relevance | path

Searched refs:SENSOR_ATTR_UPPER_THRESH (Results 1 – 25 of 45) sorted by relevance

12

/Zephyr-latest/tests/drivers/sensor/generic/src/
Dmain.c42 { 127, 0 }, SENSOR_ATTR_UPPER_THRESH },
46 { 130, 127 }, SENSOR_ATTR_UPPER_THRESH },
50 { 150, 130 }, SENSOR_ATTR_UPPER_THRESH },
54 { 180, 150 }, SENSOR_ATTR_UPPER_THRESH },
58 { 155, 180 }, SENSOR_ATTR_UPPER_THRESH }
Ddummy_sensor.c113 attr == SENSOR_ATTR_UPPER_THRESH) { in dummy_sensor_attr_set()
130 attr == SENSOR_ATTR_UPPER_THRESH) { in dummy_sensor_attr_get()
/Zephyr-latest/samples/sensor/apds9960/src/
Dmain.c46 SENSOR_ATTR_UPPER_THRESH, &attr)) { in main()
/Zephyr-latest/drivers/sensor/nordic/npm2100_vbat/
Dnpm2100_vbat.c108 {SENSOR_CHAN_GAUGE_VOLTAGE, SENSOR_ATTR_UPPER_THRESH, &vbat_range, BOOST_VBATMINH, 0xFF, 0},
110 {SENSOR_CHAN_VOLTAGE, SENSOR_ATTR_UPPER_THRESH, &vdps_range, BOOST_VOUTDPS, 0xFF, BIT(2)},
113 {(enum sensor_channel)SENSOR_CHAN_NPM2100_DPS_COUNT, SENSOR_ATTR_UPPER_THRESH,
115 {(enum sensor_channel)SENSOR_CHAN_NPM2100_DPS_TIMER, SENSOR_ATTR_UPPER_THRESH,
494 SENSOR_ATTR_UPPER_THRESH, &config->vbatmin); in npm2100_vbat_init()
/Zephyr-latest/drivers/sensor/microchip/tcn75a/
Dtcn75a_trigger.c61 case SENSOR_ATTR_UPPER_THRESH: in tcn75a_attr_set()
95 case SENSOR_ATTR_UPPER_THRESH: in tcn75a_attr_get()
/Zephyr-latest/drivers/sensor/apds9960/
Dapds9960_trigger.c42 if (attr == SENSOR_ATTR_UPPER_THRESH) { in apds9960_attr_set()
/Zephyr-latest/samples/sensor/amg88xx/src/
Dmain.c70 SENSOR_ATTR_UPPER_THRESH, &attr)) { in main()
/Zephyr-latest/drivers/sensor/ams/tmd2620/
Dtmd2620_trigger.c47 if (attr == SENSOR_ATTR_UPPER_THRESH) { in tmd2620_attr_set()
/Zephyr-latest/samples/sensor/sht3xd/src/
Dmain.c49 SENSOR_ATTR_UPPER_THRESH, &hi_thr); in main()
/Zephyr-latest/samples/sensor/vcnl4040/src/
Dmain.c98 SENSOR_ATTR_UPPER_THRESH, &attr) < 0) { in test_trigger_mode()
/Zephyr-latest/samples/sensor/isl29035/src/
Dmain.c86 SENSOR_ATTR_UPPER_THRESH, &hi_thr); in process_sample()
/Zephyr-latest/samples/sensor/thermometer/src/
Dmain.c104 SENSOR_ATTR_UPPER_THRESH, &value); in main()
/Zephyr-latest/drivers/sensor/nuvoton/nuvoton_adc_cmp_npcx/
Dadc_cmp_npcx.c175 case SENSOR_ATTR_UPPER_THRESH: in adc_cmp_npcx_attr_set()
182 attr == SENSOR_ATTR_UPPER_THRESH || in adc_cmp_npcx_attr_set()
/Zephyr-latest/drivers/sensor/ti/tmp1075/
Dtmp1075.c74 case SENSOR_ATTR_UPPER_THRESH: in tmp1075_attr_set()
112 case SENSOR_ATTR_UPPER_THRESH: in tmp1075_attr_get()
/Zephyr-latest/samples/sensor/tmp108/src/
Dmain.c82 SENSOR_ATTR_UPPER_THRESH, in enable_temp_alerts()
/Zephyr-latest/drivers/sensor/vishay/vcnl4040/
Dvcnl4040_trigger.c129 if (attr == SENSOR_ATTR_UPPER_THRESH) { in vcnl4040_attr_set()
152 if (attr == SENSOR_ATTR_UPPER_THRESH) { in vcnl4040_attr_set()
/Zephyr-latest/samples/sensor/jc42/src/
Dmain.c59 SENSOR_ATTR_UPPER_THRESH, &val); in set_window()
/Zephyr-latest/drivers/sensor/espressif/pcnt_esp32/
Dpcnt_esp32.c201 case SENSOR_ATTR_UPPER_THRESH: in pcnt_esp32_attr_set_thresh()
239 case SENSOR_ATTR_UPPER_THRESH: in pcnt_esp32_attr_set()
263 case SENSOR_ATTR_UPPER_THRESH: in pcnt_esp32_attr_get()
/Zephyr-latest/tests/drivers/sensor/temp_sensor/src/
Dmain.c81 SENSOR_ATTR_UPPER_THRESH, &val); in ZTEST()
/Zephyr-latest/samples/sensor/adt7420/src/
Dmain.c85 SENSOR_ATTR_UPPER_THRESH, high_ucel); in sensor_set_window()
/Zephyr-latest/drivers/sensor/ite/ite_vcmp_it8xxx2/
Dvcmp_ite_it8xxx2.c138 if ((attr == SENSOR_ATTR_UPPER_THRESH) || in vcmp_set_threshold()
172 case SENSOR_ATTR_UPPER_THRESH: in vcmp_ite_it8xxx2_attr_set()
/Zephyr-latest/drivers/sensor/lm77/
Dlm77.c144 case SENSOR_ATTR_UPPER_THRESH: in lm77_attr_set()
185 case SENSOR_ATTR_UPPER_THRESH: in lm77_attr_get()
/Zephyr-latest/samples/sensor/ccs811/src/
Dmain.c163 SENSOR_ATTR_UPPER_THRESH, in main()
/Zephyr-latest/drivers/sensor/jedec/jc42/
Djc42_trigger.c36 case SENSOR_ATTR_UPPER_THRESH: in jc42_attr_set()
/Zephyr-latest/drivers/sensor/renesas/isl29035/
Disl29035_trigger.c69 if (attr == SENSOR_ATTR_UPPER_THRESH) { in isl29035_attr_set()

12