Skip to main content

pamoja_ina226_power_watts

Function pamoja_ina226_power_watts 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_ina226_power_watts( raw: u16, current_lsb_microamps: u32, ) -> f32
Expand description

Converts a raw INA226 power register to watts.

ยงReturns

The power.