Skip to main content

pamoja_ina219_power_microwatts

Function pamoja_ina219_power_microwatts 

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

Converts a raw INA219 power register to microwatts.

ยงReturns

The power, at the resolution the calibration selected.