#[repr(C)]pub struct PamojaBmp280Settings {
pub temperature: u8,
pub pressure: u8,
pub filter: u8,
}Expand description
How a BMP280 driver measures: the oversampling of each measurement and the IIR filter.
Fields§
§temperature: u8The temperature oversampling code, 0..=5, where 0 skips the measurement.
pressure: u8The pressure oversampling code, 0..=5, where 0 skips the measurement.
filter: u8The IIR filter’s filter[2:0] code, 0 for the filter off, written as given.
Trait Implementations§
Source§impl Clone for PamojaBmp280Settings
impl Clone for PamojaBmp280Settings
Source§fn clone(&self) -> PamojaBmp280Settings
fn clone(&self) -> PamojaBmp280Settings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaBmp280Settings
Source§impl Debug for PamojaBmp280Settings
impl Debug for PamojaBmp280Settings
impl Eq for PamojaBmp280Settings
Source§impl PartialEq for PamojaBmp280Settings
impl PartialEq for PamojaBmp280Settings
impl StructuralPartialEq for PamojaBmp280Settings
Auto Trait Implementations§
impl Freeze for PamojaBmp280Settings
impl RefUnwindSafe for PamojaBmp280Settings
impl Send for PamojaBmp280Settings
impl Sync for PamojaBmp280Settings
impl Unpin for PamojaBmp280Settings
impl UnsafeUnpin for PamojaBmp280Settings
impl UnwindSafe for PamojaBmp280Settings
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