#[repr(transparent)]pub struct Int(pub u32);
Expand description
Enable or disable interrupt
Tuple Fields§
§0: u32
Implementations§
Source§impl Int
impl Int
Sourcepub fn set_txdrdy(&mut self, val: bool)
pub fn set_txdrdy(&mut self, val: bool)
Enable or disable interrupt for event TXDRDY
Sourcepub fn set_rxdrdy(&mut self, val: bool)
pub fn set_rxdrdy(&mut self, val: bool)
Enable or disable interrupt for event RXDRDY
Sourcepub fn set_txstopped(&mut self, val: bool)
pub fn set_txstopped(&mut self, val: bool)
Enable or disable interrupt for event TXSTOPPED
Sourcepub fn set_dmarxend(&mut self, val: bool)
pub fn set_dmarxend(&mut self, val: bool)
Enable or disable interrupt for event DMARXEND
Sourcepub const fn dmarxready(&self) -> bool
pub const fn dmarxready(&self) -> bool
Enable or disable interrupt for event DMARXREADY
Sourcepub fn set_dmarxready(&mut self, val: bool)
pub fn set_dmarxready(&mut self, val: bool)
Enable or disable interrupt for event DMARXREADY
Sourcepub const fn dmarxbuserror(&self) -> bool
pub const fn dmarxbuserror(&self) -> bool
Enable or disable interrupt for event DMARXBUSERROR
Sourcepub fn set_dmarxbuserror(&mut self, val: bool)
pub fn set_dmarxbuserror(&mut self, val: bool)
Enable or disable interrupt for event DMARXBUSERROR
Sourcepub const fn dmarxmatch0(&self) -> bool
pub const fn dmarxmatch0(&self) -> bool
Enable or disable interrupt for event DMARXMATCH[0]
Sourcepub fn set_dmarxmatch0(&mut self, val: bool)
pub fn set_dmarxmatch0(&mut self, val: bool)
Enable or disable interrupt for event DMARXMATCH[0]
Sourcepub const fn dmarxmatch1(&self) -> bool
pub const fn dmarxmatch1(&self) -> bool
Enable or disable interrupt for event DMARXMATCH[1]
Sourcepub fn set_dmarxmatch1(&mut self, val: bool)
pub fn set_dmarxmatch1(&mut self, val: bool)
Enable or disable interrupt for event DMARXMATCH[1]
Sourcepub const fn dmarxmatch2(&self) -> bool
pub const fn dmarxmatch2(&self) -> bool
Enable or disable interrupt for event DMARXMATCH[2]
Sourcepub fn set_dmarxmatch2(&mut self, val: bool)
pub fn set_dmarxmatch2(&mut self, val: bool)
Enable or disable interrupt for event DMARXMATCH[2]
Sourcepub const fn dmarxmatch3(&self) -> bool
pub const fn dmarxmatch3(&self) -> bool
Enable or disable interrupt for event DMARXMATCH[3]
Sourcepub fn set_dmarxmatch3(&mut self, val: bool)
pub fn set_dmarxmatch3(&mut self, val: bool)
Enable or disable interrupt for event DMARXMATCH[3]
Sourcepub fn set_dmatxend(&mut self, val: bool)
pub fn set_dmatxend(&mut self, val: bool)
Enable or disable interrupt for event DMATXEND
Sourcepub const fn dmatxready(&self) -> bool
pub const fn dmatxready(&self) -> bool
Enable or disable interrupt for event DMATXREADY
Sourcepub fn set_dmatxready(&mut self, val: bool)
pub fn set_dmatxready(&mut self, val: bool)
Enable or disable interrupt for event DMATXREADY
Sourcepub const fn dmatxbuserror(&self) -> bool
pub const fn dmatxbuserror(&self) -> bool
Enable or disable interrupt for event DMATXBUSERROR
Sourcepub fn set_dmatxbuserror(&mut self, val: bool)
pub fn set_dmatxbuserror(&mut self, val: bool)
Enable or disable interrupt for event DMATXBUSERROR
Sourcepub const fn frametimeout(&self) -> bool
pub const fn frametimeout(&self) -> bool
Enable or disable interrupt for event FRAMETIMEOUT
Sourcepub fn set_frametimeout(&mut self, val: bool)
pub fn set_frametimeout(&mut self, val: bool)
Enable or disable interrupt for event FRAMETIMEOUT
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
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)
clone_to_uninit
)