[][src]Struct dps422::Config

pub struct Config { /* fields omitted */ }

DPS422 configuration struct

Implementations

impl Config[src]

pub fn new() -> Self[src]

pub fn pres_rate(&mut self, rate: PressureRate) -> &mut Self[src]

pub fn pres_res(&mut self, res: PressureResolution) -> &mut Self[src]

pub fn temp_rate(&mut self, rate: TemperatureRate) -> &mut Self[src]

pub fn temp_res(&mut self, res: TemperatureResolution) -> &mut Self[src]

pub fn int_source(
    &mut self,
    int_source: InterruptSource,
    polarity: bool
) -> &mut Self
[src]

pub fn fifo(&mut self, stop_on_full: bool, enable: bool) -> &mut Self[src]

pub fn spi_mode(&mut self, three_wire: bool) -> &mut Self[src]

pub fn watermark_level(&mut self, level: u8) -> &mut Self[src]

Trait Implementations

impl Clone for Config[src]

impl Copy for Config[src]

impl Debug for Config[src]

Auto Trait Implementations

impl Send for Config

impl Sync for Config

impl Unpin for Config

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.