Searched refs:current_lsb (Results 1 – 6 of 6) sorted by relevance
98 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), \
50 uint16_t current_lsb; member
57 uint32_t current_lsb; member
52 uint32_t current_lsb; member
46 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), \
59 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), \