[−][src]Struct dps422::Config
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]
&mut self,
int_source: InterruptSource,
polarity: bool
) -> &mut Self
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]
fn clone(&self) -> Config
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Config
[src]
impl Debug for Config
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,