[][src]Struct bmp280_core::BMP280

pub struct BMP280<BUS> { /* fields omitted */ }

Implementations

impl<E, BUS: Bus<Error = E>> BMP280<BUS>[src]

pub fn new(bus: BUS) -> Self[src]

pub fn verify(&mut self) -> Result<bool, E>[src]

pub fn set_register(
    &mut self,
    reg: Register,
    offset: u8,
    len: u8,
    bits: u8
) -> Result<(), E>
[src]

pub fn reset<D: DelayMs<u8>>(&mut self, delay: &mut D) -> Result<(), E>[src]

pub fn set_mode(&mut self, mode: Mode) -> Result<(), E>[src]

pub fn set_pressure_oversampling(
    &mut self,
    value: PressureOversampling
) -> Result<(), E>
[src]

pub fn set_temperature_oversampling(
    &mut self,
    v: TemperatureOversampling
) -> Result<(), E>
[src]

pub fn set_standby_time(&mut self, standby_time: StandbyTime) -> Result<(), E>[src]

pub fn set_iir_filter(&mut self, filter_coefficient: u8) -> Result<(), E>[src]

pub fn read_calibration(&mut self) -> Result<Calibration, E>[src]

pub fn read_measurements(&mut self) -> Result<(RawPressure, RawTemperature), E>[src]

Auto Trait Implementations

impl<BUS> Send for BMP280<BUS> where
    BUS: Send

impl<BUS> Sync for BMP280<BUS> where
    BUS: Sync

impl<BUS> Unpin for BMP280<BUS> where
    BUS: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.