#[unsafe(no_mangle)]pub extern "C" fn pamoja_ina226_calibration(
current_lsb_microamps: u32,
shunt_milliohms: u32,
) -> u16Expand description
Computes the INA226 calibration register for a shunt and current resolution.
ยงReturns
The register value to write.