Skip to main content

pamoja_ina226_shunt_nanovolts

Function pamoja_ina226_shunt_nanovolts 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_ina226_shunt_nanovolts(raw: i16) -> i32
Expand description

Converts a raw INA226 shunt-voltage register to nanovolts.

ยงReturns

The shunt voltage, exact in integer arithmetic at 2.5 uV per count.