#[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_stopped(&mut self, val: bool)
pub fn set_stopped(&mut self, val: bool)
Enable or disable interrupt for event STOPPED
Sourcepub const fn seqstarted0(&self) -> bool
pub const fn seqstarted0(&self) -> bool
Enable or disable interrupt for event SEQSTARTED[0]
Sourcepub fn set_seqstarted0(&mut self, val: bool)
pub fn set_seqstarted0(&mut self, val: bool)
Enable or disable interrupt for event SEQSTARTED[0]
Sourcepub const fn seqstarted1(&self) -> bool
pub const fn seqstarted1(&self) -> bool
Enable or disable interrupt for event SEQSTARTED[1]
Sourcepub fn set_seqstarted1(&mut self, val: bool)
pub fn set_seqstarted1(&mut self, val: bool)
Enable or disable interrupt for event SEQSTARTED[1]
Sourcepub fn set_seqend0(&mut self, val: bool)
pub fn set_seqend0(&mut self, val: bool)
Enable or disable interrupt for event SEQEND[0]
Sourcepub fn set_seqend1(&mut self, val: bool)
pub fn set_seqend1(&mut self, val: bool)
Enable or disable interrupt for event SEQEND[1]
Sourcepub const fn pwmperiodend(&self) -> bool
pub const fn pwmperiodend(&self) -> bool
Enable or disable interrupt for event PWMPERIODEND
Sourcepub fn set_pwmperiodend(&mut self, val: bool)
pub fn set_pwmperiodend(&mut self, val: bool)
Enable or disable interrupt for event PWMPERIODEND
Sourcepub fn set_loopsdone(&mut self, val: bool)
pub fn set_loopsdone(&mut self, val: bool)
Enable or disable interrupt for event LOOPSDONE
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
)