Skip to main content

pamoja_i2c_part_received_count

Function pamoja_i2c_part_received_count 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_i2c_part_received_count( part: *const PamojaI2cPart, ) -> usize
Expand description

Returns how many writes a part that takes commands has received.

§Arguments

  • part - the part.

§Returns

The count, or 0 for a null part or a part of another kind.

§Safety

part must be a live handle or null.