pub struct AlertFlags {
pub conversion_ready: bool,
pub timing_control: bool,
pub power_valid: bool,
pub warning_ch1: bool,
pub warning_ch2: bool,
pub warning_ch3: bool,
pub summation: bool,
pub critical_ch1: bool,
pub critical_ch2: bool,
pub critical_ch3: bool,
}Expand description
Alert flags from the Mask/Enable register
Fields§
§conversion_ready: boolConversion ready flag
timing_control: boolTiming control alert flag
power_valid: boolPower valid alert flag
warning_ch1: boolChannel 1 warning alert flag
warning_ch2: boolChannel 2 warning alert flag
warning_ch3: boolChannel 3 warning alert flag
summation: boolSummation alert flag
critical_ch1: boolChannel 1 critical alert flag
critical_ch2: boolChannel 2 critical alert flag
critical_ch3: boolChannel 3 critical alert flag
Trait Implementations§
Source§impl Clone for AlertFlags
impl Clone for AlertFlags
Source§fn clone(&self) -> AlertFlags
fn clone(&self) -> AlertFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AlertFlags
impl Debug for AlertFlags
Source§impl Default for AlertFlags
impl Default for AlertFlags
Source§fn default() -> AlertFlags
fn default() -> AlertFlags
Returns the “default value” for a type. Read more
impl Copy for AlertFlags
Auto Trait Implementations§
impl Freeze for AlertFlags
impl RefUnwindSafe for AlertFlags
impl Send for AlertFlags
impl Sync for AlertFlags
impl Unpin for AlertFlags
impl UnwindSafe for AlertFlags
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