Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/sensor/ti/ina219/
Dina219.c98 cal = INA219_SCALING_FACTOR / ((cfg->r_shunt) * (cfg->current_lsb)); in ina219_set_calib()
200 tmp = data->power * cfg->current_lsb * INA219_POWER_MUL * INA219_SI_MUL; in ina219_channel_get()
207 tmp = sign * data->current * cfg->current_lsb * INA219_SI_MUL; in ina219_channel_get()
294 .current_lsb = DT_INST_PROP(n, lsb_microamp), \
Dina219.h50 uint16_t current_lsb; member
/Zephyr-Core-3.7.0/drivers/sensor/ti/ina226/
Dina226.c52 uint32_t current_lsb; member
114 micro_s32_to_sensor_value(val, data->current * config->current_lsb); in ina226_channel_get()
119 INA226_POWER_TO_uW((uint32_t)data->power * config->current_lsb)); in ina226_channel_get()
317 .current_lsb = DT_INST_PROP(inst, current_lsb_microamps), \
/Zephyr-Core-3.7.0/drivers/sensor/ti/ina23x/
Dina237.h57 uint32_t current_lsb; member
Dina230.h52 uint32_t current_lsb; member
Dina230.c46 current_ua = data->current * config->current_lsb; in ina230_channel_get()
54 power_uw = data->power * INA230_POWER_SCALING * config->current_lsb; in ina230_channel_get()
260 .current_lsb = DT_INST_PROP(inst, current_lsb_microamps), \
Dina237.c59 micro_s32_to_sensor_value(val, data->current * config->current_lsb); in ina237_channel_get()
65 INA237_POWER_TO_uW((uint64_t)data->power * config->current_lsb)); in ina237_channel_get()
414 .current_lsb = DT_INST_PROP(inst, current_lsb_microamps), \