Skip to main content

pamoja_ina219_conversion_micros

Function pamoja_ina219_conversion_micros 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_ina219_conversion_micros( config: PamojaIna219Config, ) -> u32
Expand description

Returns how long one INA219 conversion cycle takes: the shunt and bus conversions the mode runs, one after the other.

§Arguments

  • config - the settings.

§Returns

The time in microseconds.