pub struct CtrlMeas {
pub temperature: Oversampling,
pub pressure: Oversampling,
pub mode: Mode,
}Expand description
The measurement control register (0xF4, ctrl_meas).
The default is the register’s reset state, 0x00: both measurements skipped and
the device asleep.
Fields§
§temperature: OversamplingTemperature oversampling, osrs_t[2:0] in bits 7:5.
pressure: OversamplingPressure oversampling, osrs_p[2:0] in bits 4:2.
mode: ModePower mode, mode[1:0] in bits 1:0.
Implementations§
Trait Implementations§
impl Copy for CtrlMeas
impl Eq for CtrlMeas
impl StructuralPartialEq for CtrlMeas
Auto Trait Implementations§
impl Freeze for CtrlMeas
impl RefUnwindSafe for CtrlMeas
impl Send for CtrlMeas
impl Sync for CtrlMeas
impl Unpin for CtrlMeas
impl UnsafeUnpin for CtrlMeas
impl UnwindSafe for CtrlMeas
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