#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_i2c_part_set_word(
part: *mut PamojaI2cPart,
register: u8,
value: u16,
) -> PamojaStatusExpand description
Puts a value in one register of a part whose registers are sixteen bits wide, read-only bits included, the way the part itself would.
§Arguments
part- the part.register- the register.value- what it holds.
§Returns
PamojaStatus::Ok, or PamojaStatus::InvalidArgument for a null part or a part of
another kind.
§Safety
part must be a live handle or null.