#[repr(C)]pub struct PamojaBme280CtrlMeas {
pub temperature: u8,
pub pressure: u8,
pub mode: u8,
}Expand description
A BME280 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 PamojaBme280CtrlMeas
impl Clone for PamojaBme280CtrlMeas
Source§fn clone(&self) -> PamojaBme280CtrlMeas
fn clone(&self) -> PamojaBme280CtrlMeas
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 PamojaBme280CtrlMeas
Source§impl Debug for PamojaBme280CtrlMeas
impl Debug for PamojaBme280CtrlMeas
impl Eq for PamojaBme280CtrlMeas
Source§impl From<CtrlMeas> for PamojaBme280CtrlMeas
impl From<CtrlMeas> for PamojaBme280CtrlMeas
Source§impl From<PamojaBme280CtrlMeas> for CtrlMeas
impl From<PamojaBme280CtrlMeas> for CtrlMeas
Source§fn from(value: PamojaBme280CtrlMeas) -> Self
fn from(value: PamojaBme280CtrlMeas) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PamojaBme280CtrlMeas
impl PartialEq for PamojaBme280CtrlMeas
impl StructuralPartialEq for PamojaBme280CtrlMeas
Auto Trait Implementations§
impl Freeze for PamojaBme280CtrlMeas
impl RefUnwindSafe for PamojaBme280CtrlMeas
impl Send for PamojaBme280CtrlMeas
impl Sync for PamojaBme280CtrlMeas
impl Unpin for PamojaBme280CtrlMeas
impl UnsafeUnpin for PamojaBme280CtrlMeas
impl UnwindSafe for PamojaBme280CtrlMeas
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