Skip to main content

pamoja_ina226_power_microwatts

Function pamoja_ina226_power_microwatts 

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

Converts a raw INA226 power register to microwatts.

ยงReturns

The power. The power LSB is fixed at twenty-five times the current LSB.