Skip to main content

pamoja_i2c_bus_waited_micros

Function pamoja_i2c_bus_waited_micros 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_i2c_bus_waited_micros( bus: *const PamojaI2cBus, ) -> u64
Expand description

Returns how long the drivers on a bus have asked to wait.

§Arguments

  • bus - the bus.

§Returns

The total in microseconds, counted whether or not the process slept through it, or 0 for a null bus.

§Safety

bus must be a live handle or null.