#[unsafe(no_mangle)]pub extern "C" fn pamoja_ina219_sim_part(
address: u8,
) -> *mut PamojaI2cPartExpand description
Creates a simulated INA219 carrying PAMOJA_INA219_SIM_MICROAMPS at
PAMOJA_INA219_SIM_BUS_MILLIVOLTS through the shunt a driver starts with.
§Arguments
address- the address it answers to.
§Returns
The part, which the caller releases with crate::hal::pamoja_i2c_part_free.