#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_bme280_sim_burst_for(
celsius: f32,
hectopascals: f32,
relative_humidity: f32,
out_burst: *mut u8,
) -> PamojaStatusExpand description
Builds the eight data registers a simulated BME280 holds when it reports a reading.
§Arguments
celsius- the temperature.hectopascals- the pressure.relative_humidity- the humidity, as a percentage.out_burst- receives the eight bytes a burst read returns.
§Returns
PamojaStatus::Ok, or PamojaStatus::InvalidArgument for a null pointer.
§Safety
out_burst must point to 8 writable bytes.