rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
ina228_cal_t Struct Reference

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

Detailed Description

The calibration of an INA228: shunt, maximum current, SHUNT_CAL and ADCRANGE.

Field Documentation

◆ adcrange

uint8_t ina228_cal_t::adcrange

CONFIG.ADCRANGE, 0 or 1

◆ max_ma

uint32_t ina228_cal_t::max_ma

the maximum current asked for, mA

◆ shunt_cal

uint16_t ina228_cal_t::shunt_cal

SHUNT_CAL as written: 4096

◆ shunt_uohm

uint32_t ina228_cal_t::shunt_uohm

shunt resistance, µΩ


The documentation for this struct was generated from the following file: