Searched refs:shunt_voltage (Results 1 – 3 of 3) sorted by relevance
47 int16_t shunt_voltage; member
72 micro_s32_to_sensor_value(val, data->shunt_voltage * 1250); in ina237_channel_get()75 micro_s32_to_sensor_value(val, data->shunt_voltage * 5000); in ina237_channel_get()182 ret = ina23x_reg_read_16(&config->bus, INA237_REG_SHUNT_VOLT, &data->shunt_voltage); in ina237_read_data()
44 int16_t shunt_voltage; member123 micro_s32_to_sensor_value(val, INA226_SHUNT_VOLTAGE_TO_uV(data->shunt_voltage)); in ina226_channel_get()165 ret = ina226_reg_read_16(&config->bus, INA226_REG_SHUNT_VOLT, &data->shunt_voltage); in ina226_read_data()