#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_scd4x_poll_ready(
sensor: *mut PamojaScd4x,
out_ready: *mut bool,
) -> PamojaStatusExpand description
Asks the part whether a periodic result is waiting.
§Arguments
sensor- the driver.out_ready- receivestruewhenpamoja_scd4x_measurewould read without waiting.
§Returns
PamojaStatus::Ok, PamojaStatus::InvalidArgument for a null argument,
PamojaStatus::Io when the bus fails, or PamojaStatus::Codec when the status word
fails its CRC.
§Safety
sensor must be a live handle or null, and out_ready a writable pointer or null.