pub struct InterruptIdentification { /* private fields */ }Expand description
Interrupt Identification Register
Implementations§
Source§impl InterruptIdentification
impl InterruptIdentification
Sourcepub const ZERO: Self
pub const ZERO: Self
Creates a new instance with a raw value of 0. Equivalent to [Self::new_with_raw_value(0)].
Sourcepub const fn new_with_raw_value(value: u32) -> InterruptIdentification
pub const fn new_with_raw_value(value: u32) -> InterruptIdentification
Creates a new instance of this bitfield with the given raw value.
No checks are performed on the value, so it is possible to set bits that don’t have any accessors specified.
Sourcepub const fn fifo_enabled(&self) -> u2
pub const fn fifo_enabled(&self) -> u2
16550 mode enabled?
Sourcepub const fn int_id(&self) -> Result<InterruptId2, u3>
pub const fn int_id(&self) -> Result<InterruptId2, u3>
Interrupt ID2.
Sourcepub const fn int_pend_n(&self) -> bool
pub const fn int_pend_n(&self) -> bool
Interrupt Pending, active low.
Trait Implementations§
Source§impl Clone for InterruptIdentification
impl Clone for InterruptIdentification
Source§fn clone(&self) -> InterruptIdentification
fn clone(&self) -> InterruptIdentification
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 InterruptIdentification
Auto Trait Implementations§
impl Freeze for InterruptIdentification
impl RefUnwindSafe for InterruptIdentification
impl Send for InterruptIdentification
impl Sync for InterruptIdentification
impl Unpin for InterruptIdentification
impl UnsafeUnpin for InterruptIdentification
impl UnwindSafe for InterruptIdentification
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