#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_i2c_bus_scripted(
script: *const PamojaI2cScript,
) -> *mut PamojaI2cBusExpand description
Creates a bus that plays a script and refuses any transfer that is not its next step.
§Arguments
script- the steps to copy; the caller still owns the handle.
§Returns
The bus, which the caller releases with pamoja_i2c_bus_free, or null for a null
script.
§Safety
script must be a live handle or null.