Struct Int
#[repr(transparent)]pub struct Int(pub u32);
Expand description
Disable interrupt
Tuple Fields§
§0: u32
Implementations§
§impl Int
impl Int
pub fn set_started(&mut self, val: bool)
pub fn set_started(&mut self, val: bool)
Write ‘1’ to disable interrupt for event STARTED
pub fn set_stopped(&mut self, val: bool)
pub fn set_stopped(&mut self, val: bool)
Write ‘1’ to disable interrupt for event STOPPED
pub fn set_dmarxend(&mut self, val: bool)
pub fn set_dmarxend(&mut self, val: bool)
Write ‘1’ to disable interrupt for event DMARXEND
pub const fn dmarxready(&self) -> bool
pub const fn dmarxready(&self) -> bool
Write ‘1’ to disable interrupt for event DMARXREADY
pub fn set_dmarxready(&mut self, val: bool)
pub fn set_dmarxready(&mut self, val: bool)
Write ‘1’ to disable interrupt for event DMARXREADY
pub const fn dmarxbuserror(&self) -> bool
pub const fn dmarxbuserror(&self) -> bool
Write ‘1’ to disable interrupt for event DMARXBUSERROR
pub fn set_dmarxbuserror(&mut self, val: bool)
pub fn set_dmarxbuserror(&mut self, val: bool)
Write ‘1’ to disable interrupt for event DMARXBUSERROR
pub const fn dmarxmatch(&self, n: usize) -> bool
pub const fn dmarxmatch(&self, n: usize) -> bool
Write ‘1’ to disable interrupt for event DMARXMATCH[0]
pub fn set_dmarxmatch(&mut self, n: usize, val: bool)
pub fn set_dmarxmatch(&mut self, n: usize, val: bool)
Write ‘1’ to disable interrupt for event DMARXMATCH[0]
pub fn set_dmatxend(&mut self, val: bool)
pub fn set_dmatxend(&mut self, val: bool)
Write ‘1’ to disable interrupt for event DMATXEND
pub const fn dmatxready(&self) -> bool
pub const fn dmatxready(&self) -> bool
Write ‘1’ to disable interrupt for event DMATXREADY
pub fn set_dmatxready(&mut self, val: bool)
pub fn set_dmatxready(&mut self, val: bool)
Write ‘1’ to disable interrupt for event DMATXREADY
pub const fn dmatxbuserror(&self) -> bool
pub const fn dmatxbuserror(&self) -> bool
Write ‘1’ to disable interrupt for event DMATXBUSERROR
pub fn set_dmatxbuserror(&mut self, val: bool)
pub fn set_dmatxbuserror(&mut self, val: bool)
Write ‘1’ to disable interrupt for event DMATXBUSERROR
Trait Implementations§
impl Copy for Int
impl Eq for Int
impl StructuralPartialEq for Int
Auto Trait Implementations§
impl Freeze for Int
impl RefUnwindSafe for Int
impl Send for Int
impl Sync for Int
impl Unpin for Int
impl UnwindSafe for Int
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)