|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The calibration of an INA228: shunt, maximum current, SHUNT_CAL and ADCRANGE. More...
#include <ina228.h>
Data Fields | |
| uint32_t | shunt_uohm |
| uint32_t | max_ma |
| uint16_t | shunt_cal |
| uint8_t | adcrange |
The calibration of an INA228: shunt, maximum current, SHUNT_CAL and ADCRANGE.
| uint8_t ina228_cal_t::adcrange |
CONFIG.ADCRANGE, 0 or 1
| uint32_t ina228_cal_t::max_ma |
the maximum current asked for, mA
| uint16_t ina228_cal_t::shunt_cal |
SHUNT_CAL as written: 4096
| uint32_t ina228_cal_t::shunt_uohm |
shunt resistance, µΩ