#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_scd4x_measure_single_shot(
sensor: *mut PamojaScd4x,
out_measurement: *mut PamojaScd4xMeasurement,
) -> PamojaStatusExpand description
Runs one on-demand measurement on an SCD41, which takes five seconds. The part must not be
measuring periodically: call pamoja_scd4x_stop first, or use this in place of
pamoja_scd4x_init.
§Arguments
sensor- the driver.out_measurement- receives the measurement.
§Returns
§Safety
sensor must be a live handle or null, and out_measurement a writable pointer or null.