Searched refs:current_lsb (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.7.0/drivers/sensor/ti/ina219/ |
D | ina219.c | 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), \
|
D | ina219.h | 50 uint16_t current_lsb; member
|
/Zephyr-Core-3.7.0/drivers/sensor/ti/ina226/ |
D | ina226.c | 52 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/ |
D | ina237.h | 57 uint32_t current_lsb; member
|
D | ina230.h | 52 uint32_t current_lsb; member
|
D | ina230.c | 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), \
|
D | ina237.c | 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), \
|