#[repr(C)]pub struct PamojaHdc1080Config {
pub software_reset: u8,
pub heater: u8,
pub sequential: u8,
pub battery_low: u8,
pub temperature_resolution_bits: u8,
pub humidity_resolution_bits: u8,
}Expand description
An HDC1080 configuration register, field by field.
Fields§
§software_reset: u81 resets the part when this register is written.
heater: u81 runs the on-die heater during measurements.
sequential: u81 acquires temperature and humidity from one trigger.
battery_low: u81 when the supply has dropped below 2.8 V, which the part reports back.
temperature_resolution_bits: u8The temperature resolution in bits: 14 or 11.
humidity_resolution_bits: u8The humidity resolution in bits: 14, 11, or 8.
Trait Implementations§
Source§impl Clone for PamojaHdc1080Config
impl Clone for PamojaHdc1080Config
Source§fn clone(&self) -> PamojaHdc1080Config
fn clone(&self) -> PamojaHdc1080Config
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 PamojaHdc1080Config
Source§impl Debug for PamojaHdc1080Config
impl Debug for PamojaHdc1080Config
impl Eq for PamojaHdc1080Config
Source§impl From<Configuration> for PamojaHdc1080Config
impl From<Configuration> for PamojaHdc1080Config
Source§impl PartialEq for PamojaHdc1080Config
impl PartialEq for PamojaHdc1080Config
Source§fn eq(&self, other: &PamojaHdc1080Config) -> bool
fn eq(&self, other: &PamojaHdc1080Config) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaHdc1080Config
Source§impl TryFrom<PamojaHdc1080Config> for Configuration
impl TryFrom<PamojaHdc1080Config> for Configuration
Source§type Error = PamojaStatus
type Error = PamojaStatus
The type returned in the event of a conversion error.
Source§fn try_from(value: PamojaHdc1080Config) -> Result<Self, PamojaStatus>
fn try_from(value: PamojaHdc1080Config) -> Result<Self, PamojaStatus>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PamojaHdc1080Config
impl RefUnwindSafe for PamojaHdc1080Config
impl Send for PamojaHdc1080Config
impl Sync for PamojaHdc1080Config
impl Unpin for PamojaHdc1080Config
impl UnsafeUnpin for PamojaHdc1080Config
impl UnwindSafe for PamojaHdc1080Config
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