#[repr(C)]pub struct PamojaBmp280Config {
pub standby: u8,
pub filter: u8,
pub spi_3wire: u8,
}Expand description
A BMP280 config register, field by field.
Fields§
§standby: u8The normal-mode standby code, 0..=7.
filter: u8The IIR filter code, 0..=7.
spi_3wire: u81 enables the 3-wire SPI interface.
Trait Implementations§
Source§impl Clone for PamojaBmp280Config
impl Clone for PamojaBmp280Config
Source§fn clone(&self) -> PamojaBmp280Config
fn clone(&self) -> PamojaBmp280Config
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 PamojaBmp280Config
Source§impl Debug for PamojaBmp280Config
impl Debug for PamojaBmp280Config
impl Eq for PamojaBmp280Config
Source§impl From<Config> for PamojaBmp280Config
impl From<Config> for PamojaBmp280Config
Source§impl From<PamojaBmp280Config> for Config
impl From<PamojaBmp280Config> for Config
Source§fn from(value: PamojaBmp280Config) -> Self
fn from(value: PamojaBmp280Config) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PamojaBmp280Config
impl PartialEq for PamojaBmp280Config
Source§fn eq(&self, other: &PamojaBmp280Config) -> bool
fn eq(&self, other: &PamojaBmp280Config) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaBmp280Config
Auto Trait Implementations§
impl Freeze for PamojaBmp280Config
impl RefUnwindSafe for PamojaBmp280Config
impl Send for PamojaBmp280Config
impl Sync for PamojaBmp280Config
impl Unpin for PamojaBmp280Config
impl UnsafeUnpin for PamojaBmp280Config
impl UnwindSafe for PamojaBmp280Config
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