Skip to main content

pamoja_ina226_power_register_from_current

Function pamoja_ina226_power_register_from_current 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_ina226_power_register_from_current( current: i16, bus: u16, ) -> u16
Expand description

Computes the INA226 power register the chip derives from a current reading.

§Returns

The power register the part’s own arithmetic produces.