pub struct FectlReg(/* private fields */);Expand description
Fault Event Control Register (MMIO offset 0x038, 32-bit, RW). §10.4.10.
Controls fault event MSI signaling.
Implementations§
Source§impl FectlReg
impl FectlReg
Sourcepub const fn ip(&self) -> bool
pub const fn ip(&self) -> bool
Interrupt Pending (RO) — set when fault interrupt is pending.
Bits: 30..31
Sourcepub const fn with_ip_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_ip_checked(self, value: bool) -> Result<Self, ()>
Interrupt Pending (RO) — set when fault interrupt is pending.
Bits: 30..31
Sourcepub const fn with_ip(self, value: bool) -> Self
pub const fn with_ip(self, value: bool) -> Self
Interrupt Pending (RO) — set when fault interrupt is pending.
Bits: 30..31
Sourcepub const fn set_ip(&mut self, value: bool)
pub const fn set_ip(&mut self, value: bool)
Interrupt Pending (RO) — set when fault interrupt is pending.
Bits: 30..31
Sourcepub const fn set_ip_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_ip_checked(&mut self, value: bool) -> Result<(), ()>
Interrupt Pending (RO) — set when fault interrupt is pending.
Bits: 30..31
Sourcepub const fn with_im_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_im_checked(self, value: bool) -> Result<Self, ()>
Interrupt Mask — 1 = mask fault event interrupt.
Bits: 31..32
Sourcepub const fn with_im(self, value: bool) -> Self
pub const fn with_im(self, value: bool) -> Self
Interrupt Mask — 1 = mask fault event interrupt.
Bits: 31..32
Trait Implementations§
impl Copy for FectlReg
Auto Trait Implementations§
impl Freeze for FectlReg
impl RefUnwindSafe for FectlReg
impl Send for FectlReg
impl Sync for FectlReg
impl Unpin for FectlReg
impl UnsafeUnpin for FectlReg
impl UnwindSafe for FectlReg
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