pub struct Config {
pub osrs_config: OversamplingConfig,
pub iir_filter: IIRFilter,
pub gas_profile: Option<GasProfile>,
pub ambient_temp: Celsius,
}Expand description
Vollständiges Konfigurationsobjekt für den BME680.
Fields§
§osrs_config: OversamplingConfigOversampling-Einstellungen für T, P und H.
iir_filter: IIRFilterIIR-Filter-Einstellung zur Rauschunterdrückung.
gas_profile: Option<GasProfile>Gassensor-Profil. None deaktiviert die Heizung und die Gasmessung (spart ~12mA).
ambient_temp: CelsiusAktuelle Schätzung der Umgebungstemperatur. Wichtig für die korrekte Berechnung der Heizleistung.
Trait Implementations§
impl Copy for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more