#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_scd4x_word(
frame: *const u8,
frame_len: usize,
out_word: *mut u16,
) -> PamojaStatusExpand description
Reads a CRC-checked three-byte SCD4x word frame.
§Returns
PamojaStatus::Ok on success, with *out_word set, or
PamojaStatus::Codec if the CRC does not match.
§Safety
frame must point to at least frame_len readable bytes, and out_word must
point to a writable uint16_t.