pub struct IrqMask { /* private fields */ }Implementations§
Source§impl IrqMask
impl IrqMask
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) -> IrqMask
pub const fn new_with_raw_value(value: u32) -> IrqMask
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 builder() -> PartialIrqMask<0>
pub const fn builder() -> PartialIrqMask<0>
Creates a builder for this bitfield which ensures that all writable fields are initialized
pub const fn fifo3_trigger1(&self) -> bool
pub const fn with_fifo3_trigger1(&self, field_value: bool) -> Self
pub fn set_fifo3_trigger1(&mut self, field_value: bool)
pub const fn fifo3_trigger0(&self) -> bool
pub const fn with_fifo3_trigger0(&self, field_value: bool) -> Self
pub fn set_fifo3_trigger0(&mut self, field_value: bool)
pub const fn fifo2_trigger1(&self) -> bool
pub const fn with_fifo2_trigger1(&self, field_value: bool) -> Self
pub fn set_fifo2_trigger1(&mut self, field_value: bool)
pub const fn fifo2_trigger0(&self) -> bool
pub const fn with_fifo2_trigger0(&self, field_value: bool) -> Self
pub fn set_fifo2_trigger0(&mut self, field_value: bool)
pub const fn fifo1_trigger1(&self) -> bool
pub const fn with_fifo1_trigger1(&self, field_value: bool) -> Self
pub fn set_fifo1_trigger1(&mut self, field_value: bool)
pub const fn fifo1_trigger0(&self) -> bool
pub const fn with_fifo1_trigger0(&self, field_value: bool) -> Self
pub fn set_fifo1_trigger0(&mut self, field_value: bool)
pub const fn fifo0_trigger1(&self) -> bool
pub const fn with_fifo0_trigger1(&self, field_value: bool) -> Self
pub fn set_fifo0_trigger1(&mut self, field_value: bool)
pub const fn fifo0_trigger0(&self) -> bool
pub const fn with_fifo0_trigger0(&self, field_value: bool) -> Self
pub fn set_fifo0_trigger0(&mut self, field_value: bool)
pub const fn software(&self) -> u24
pub const fn with_software(&self, field_value: u24) -> Self
pub fn set_software(&mut self, field_value: u24)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IrqMask
impl RefUnwindSafe for IrqMask
impl Send for IrqMask
impl Sync for IrqMask
impl Unpin for IrqMask
impl UnwindSafe for IrqMask
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