Skip to main content

pamoja_scd4x_max_duration_ms

Function pamoja_scd4x_max_duration_ms 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_scd4x_max_duration_ms( command: u16, out_millis: *mut u16, ) -> bool
Expand description

Returns how long an SCD4x command may take before its result can be read.

§Returns

true when the command has a documented execution time, with *out_millis set to it; false when it completes as soon as it is acknowledged.

§Safety

out_millis must point to a writable uint16_t.