Enum EhrValidMask
#[repr(u8)]pub enum EhrValidMask {
IrqEnable = 0,
IrqDisable = 1,
}Variants§
IrqEnable = 0
Do not mask EHR interrupt i.e. interrupt is generated.
IrqDisable = 1
Mask EHR interrupt i.e. no interrupt is generated.
Implementations§
§impl EhrValidMask
impl EhrValidMask
pub const fn from_bits(val: u8) -> EhrValidMask
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for EhrValidMask
impl Clone for EhrValidMask
§fn clone(&self) -> EhrValidMask
fn clone(&self) -> EhrValidMask
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 EhrValidMask
§impl Debug for EhrValidMask
impl Debug for EhrValidMask
impl Eq for EhrValidMask
§impl From<u8> for EhrValidMask
impl From<u8> for EhrValidMask
§fn from(val: u8) -> EhrValidMask
fn from(val: u8) -> EhrValidMask
Converts to this type from the input type.
§impl Ord for EhrValidMask
impl Ord for EhrValidMask
§fn cmp(&self, other: &EhrValidMask) -> Ordering
fn cmp(&self, other: &EhrValidMask) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for EhrValidMask
impl PartialEq for EhrValidMask
§impl PartialOrd for EhrValidMask
impl PartialOrd for EhrValidMask
impl StructuralPartialEq for EhrValidMask
Auto Trait Implementations§
impl Freeze for EhrValidMask
impl RefUnwindSafe for EhrValidMask
impl Send for EhrValidMask
impl Sync for EhrValidMask
impl Unpin for EhrValidMask
impl UnsafeUnpin for EhrValidMask
impl UnwindSafe for EhrValidMask
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