#[repr(C)]pub struct PamojaBmp280CtrlMeas {
pub temperature: u8,
pub pressure: u8,
pub mode: u8,
}Expand description
A BMP280 ctrl_meas register, field by field.
Fields§
§temperature: u8The temperature oversampling code, 0..=5, where 0 skips the measurement.
pressure: u8The pressure oversampling code, 0..=5, where 0 skips the measurement.
mode: u8The power mode code: 0 sleep, 1 forced, 3 normal.
Trait Implementations§
Source§impl Clone for PamojaBmp280CtrlMeas
impl Clone for PamojaBmp280CtrlMeas
Source§fn clone(&self) -> PamojaBmp280CtrlMeas
fn clone(&self) -> PamojaBmp280CtrlMeas
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 PamojaBmp280CtrlMeas
Source§impl Debug for PamojaBmp280CtrlMeas
impl Debug for PamojaBmp280CtrlMeas
impl Eq for PamojaBmp280CtrlMeas
Source§impl From<CtrlMeas> for PamojaBmp280CtrlMeas
impl From<CtrlMeas> for PamojaBmp280CtrlMeas
Source§impl From<PamojaBmp280CtrlMeas> for CtrlMeas
impl From<PamojaBmp280CtrlMeas> for CtrlMeas
Source§fn from(value: PamojaBmp280CtrlMeas) -> Self
fn from(value: PamojaBmp280CtrlMeas) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PamojaBmp280CtrlMeas
impl PartialEq for PamojaBmp280CtrlMeas
Source§fn eq(&self, other: &PamojaBmp280CtrlMeas) -> bool
fn eq(&self, other: &PamojaBmp280CtrlMeas) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaBmp280CtrlMeas
Auto Trait Implementations§
impl Freeze for PamojaBmp280CtrlMeas
impl RefUnwindSafe for PamojaBmp280CtrlMeas
impl Send for PamojaBmp280CtrlMeas
impl Sync for PamojaBmp280CtrlMeas
impl Unpin for PamojaBmp280CtrlMeas
impl UnsafeUnpin for PamojaBmp280CtrlMeas
impl UnwindSafe for PamojaBmp280CtrlMeas
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