Searched refs:raw_voltage (Results 1 – 2 of 2) sorted by relevance
53 uint16_t raw_voltage, raw_current, raw_power; in test_datasheet_example() local62 raw_voltage = 9584; in test_datasheet_example()66 raw_voltage = 7487; in test_datasheet_example()71 ina230_mock_set_register(fixture->mock->data, INA230_REG_BUS_VOLT, raw_voltage); in test_datasheet_example()
77 uint16_t raw_voltage; in max17048_voltage() local78 int rc = max17048_adc(i2c_dev, &raw_voltage); in max17048_voltage()92 *response = (uint32_t)raw_voltage * 78.125; in max17048_voltage()