Skip to main content

pamoja_i2c_bus_free

Function pamoja_i2c_bus_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_i2c_bus_free(bus: *mut PamojaI2cBus)
Expand description

Releases the caller’s share of a bus. The bus closes when no driver holds it either. A null pointer is ignored.

§Safety

bus must be a handle that has not been freed, or null.