#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_scd4x_measure(
sensor: *mut PamojaScd4x,
out_measurement: *mut PamojaScd4xMeasurement,
) -> PamojaStatusExpand description
Waits for the next periodic result and reads it, initializing the part first if
pamoja_scd4x_init has not run.
§Arguments
sensor- the driver.out_measurement- receives the carbon dioxide, temperature, and humidity.
§Returns
As pamoja_scd4x_init, with PamojaStatus::Io also when no result becomes ready and
PamojaStatus::Codec when a word fails its CRC.
§Safety
sensor must be a live handle or null, and out_measurement a writable pointer or null.