Searched refs:shunt_cal (Results 1 – 2 of 2) sorted by relevance
52 double shunt_cal = 819.2e6 * fixture->current_lsb_uA * 1e-6 * fixture->rshunt_uOhms * 1e-6; in test_shunt_cal() local56 shunt_cal *= 4; in test_shunt_cal()60 uint16_t shunt_register_expected = (uint16_t)shunt_cal; in test_shunt_cal()
97 double shunt_cal = 5120e-6 / (fixture->current_lsb_uA * 1e-6 * in test_shunt_cal() local101 uint16_t shunt_register_expected = (uint16_t)shunt_cal; in test_shunt_cal()