Home
last modified time | relevance | path

Searched refs:shunt_cal (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/drivers/sensor/ina237/src/
Dina237_test.c52 double shunt_cal = 819.2e6 * fixture->current_lsb_uA * 1e-6 * fixture->rshunt_uOhms * 1e-6; in test_shunt_cal() local
56 shunt_cal *= 4; in test_shunt_cal()
60 uint16_t shunt_register_expected = (uint16_t)shunt_cal; in test_shunt_cal()
/Zephyr-latest/tests/drivers/sensor/ina230/src/
Dina230_test.c97 double shunt_cal = 5120e-6 / (fixture->current_lsb_uA * 1e-6 * in test_shunt_cal() local
101 uint16_t shunt_register_expected = (uint16_t)shunt_cal; in test_shunt_cal()