#[unsafe(no_mangle)]pub extern "C" fn pamoja_ina226_sim_part(
address: u8,
) -> *mut PamojaI2cPartExpand description
Creates a simulated INA226 carrying PAMOJA_INA226_SIM_MICROAMPS at
PAMOJA_INA226_SIM_BUS_MICROVOLTS 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.