Home
last modified time | relevance | path

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

/Zephyr-latest/samples/sensor/ina219/src/
Dmain.c31 sensor_channel_get(ina, SENSOR_CHAN_POWER, &power); in main()
/Zephyr-latest/drivers/sensor/ti/ina3221/
Dina3221.c173 } else if (chan == SENSOR_CHAN_POWER || chan == SENSOR_CHAN_ALL) { in ina3221_sample_fetch()
202 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_POWER || in ina3221_sample_fetch()
210 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_POWER || in ina3221_sample_fetch()
238 case SENSOR_CHAN_POWER: in ina3221_channel_get()
/Zephyr-latest/drivers/sensor/ti/ina219/
Dina219.c113 chan != SENSOR_CHAN_POWER && in ina219_sample_fetch()
162 chan == SENSOR_CHAN_POWER) { in ina219_sample_fetch()
199 case SENSOR_CHAN_POWER: in ina219_channel_get()
/Zephyr-latest/drivers/sensor/ti/ina226/
Dina226.c116 case SENSOR_CHAN_POWER: in ina226_channel_get()
155 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_POWER)) { in ina226_read_data()
181 && chan != SENSOR_CHAN_CURRENT && chan != SENSOR_CHAN_POWER in ina226_sample_fetch()
/Zephyr-latest/drivers/sensor/ti/ina23x/
Dina230.c53 case SENSOR_CHAN_POWER: in ina230_channel_get()
76 chan != SENSOR_CHAN_POWER) { in ina230_sample_fetch()
96 if ((chan == SENSOR_CHAN_ALL) || (chan == SENSOR_CHAN_POWER)) { in ina230_sample_fetch()
Dina237.c62 case SENSOR_CHAN_POWER: in ina237_channel_get()
164 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_POWER)) { in ina237_read_data()
204 chan != SENSOR_CHAN_POWER && in ina237_sample_fetch()
/Zephyr-latest/tests/drivers/sensor/ina230/src/
Dina230_test.c84 zassert_ok(sensor_channel_get(fixture->dev, SENSOR_CHAN_POWER, &sensor_val)); in test_datasheet_example()
203 zassert_ok(sensor_channel_get(fixture->dev, SENSOR_CHAN_POWER, &sensor_val)); in test_power()
/Zephyr-latest/tests/drivers/sensor/ina237/src/
Dina237_test.c158 zassert_ok(sensor_channel_get(fixture->dev, SENSOR_CHAN_POWER, &sensor_val)); in test_power()
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h139 SENSOR_CHAN_POWER, enumerator
/Zephyr-latest/drivers/sensor/
Dsensor_shell.c83 [SENSOR_CHAN_POWER] = "power",