Enum AhbErrMask
#[repr(u8)]pub enum AhbErrMask {
IrqEnable = 0,
IrqDisable = 1,
}Variants§
IrqEnable = 0
Do not mask AHB error interrupt i.e. interrupt is generated.
IrqDisable = 1
Mask AHB error interrupt i.e. no interrupt is generated.
Implementations§
§impl AhbErrMask
impl AhbErrMask
pub const fn from_bits(val: u8) -> AhbErrMask
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for AhbErrMask
impl Clone for AhbErrMask
§fn clone(&self) -> AhbErrMask
fn clone(&self) -> AhbErrMask
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 AhbErrMask
§impl Debug for AhbErrMask
impl Debug for AhbErrMask
impl Eq for AhbErrMask
§impl From<u8> for AhbErrMask
impl From<u8> for AhbErrMask
§fn from(val: u8) -> AhbErrMask
fn from(val: u8) -> AhbErrMask
Converts to this type from the input type.
§impl Ord for AhbErrMask
impl Ord for AhbErrMask
§fn cmp(&self, other: &AhbErrMask) -> Ordering
fn cmp(&self, other: &AhbErrMask) -> 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 AhbErrMask
impl PartialEq for AhbErrMask
§impl PartialOrd for AhbErrMask
impl PartialOrd for AhbErrMask
impl StructuralPartialEq for AhbErrMask
Auto Trait Implementations§
impl Freeze for AhbErrMask
impl RefUnwindSafe for AhbErrMask
impl Send for AhbErrMask
impl Sync for AhbErrMask
impl Unpin for AhbErrMask
impl UnsafeUnpin for AhbErrMask
impl UnwindSafe for AhbErrMask
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