#[repr(transparent)]pub struct Int(pub u32);Expand description
Enable or disable interrupt.
Tuple Fields§
§0: u32Implementations§
Source§impl Int
impl Int
Sourcepub const fn set_rxdrdy(&mut self, val: bool)
pub const fn set_rxdrdy(&mut self, val: bool)
Enable or disable interrupt for event RXDRDY.
Sourcepub const fn set_dmarxend(&mut self, val: bool)
pub const fn set_dmarxend(&mut self, val: bool)
Enable or disable interrupt for event ENDRX.
Sourcepub const fn set_txdrdy(&mut self, val: bool)
pub const fn set_txdrdy(&mut self, val: bool)
Enable or disable interrupt for event TXDRDY.
Sourcepub const fn set_dmatxend(&mut self, val: bool)
pub const fn set_dmatxend(&mut self, val: bool)
Enable or disable interrupt for event ENDTX.
Sourcepub const fn dmarxready(&self) -> bool
pub const fn dmarxready(&self) -> bool
Enable or disable interrupt for event RXSTARTED.
Sourcepub const fn set_dmarxready(&mut self, val: bool)
pub const fn set_dmarxready(&mut self, val: bool)
Enable or disable interrupt for event RXSTARTED.
Sourcepub const fn dmatxready(&self) -> bool
pub const fn dmatxready(&self) -> bool
Enable or disable interrupt for event TXSTARTED.
Sourcepub const fn set_dmatxready(&mut self, val: bool)
pub const fn set_dmatxready(&mut self, val: bool)
Enable or disable interrupt for event TXSTARTED.
Sourcepub const fn set_txstopped(&mut self, val: bool)
pub const fn set_txstopped(&mut self, val: bool)
Enable or disable interrupt for event TXSTOPPED.
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