Struct Int
#[repr(transparent)]pub struct Int(pub u32);
Expand description
Enable or disable interrupt
Tuple Fields§
§0: u32
Implementations§
§impl Int
impl Int
pub fn set_stopped(&mut self, val: bool)
pub fn set_stopped(&mut self, val: bool)
Enable or disable interrupt for event STOPPED
pub const fn seqstarted0(&self) -> bool
pub const fn seqstarted0(&self) -> bool
Enable or disable interrupt for event SEQSTARTED[0]
pub fn set_seqstarted0(&mut self, val: bool)
pub fn set_seqstarted0(&mut self, val: bool)
Enable or disable interrupt for event SEQSTARTED[0]
pub const fn seqstarted1(&self) -> bool
pub const fn seqstarted1(&self) -> bool
Enable or disable interrupt for event SEQSTARTED[1]
pub fn set_seqstarted1(&mut self, val: bool)
pub fn set_seqstarted1(&mut self, val: bool)
Enable or disable interrupt for event SEQSTARTED[1]
pub fn set_seqend0(&mut self, val: bool)
pub fn set_seqend0(&mut self, val: bool)
Enable or disable interrupt for event SEQEND[0]
pub fn set_seqend1(&mut self, val: bool)
pub fn set_seqend1(&mut self, val: bool)
Enable or disable interrupt for event SEQEND[1]
pub const fn pwmperiodend(&self) -> bool
pub const fn pwmperiodend(&self) -> bool
Enable or disable interrupt for event PWMPERIODEND
pub fn set_pwmperiodend(&mut self, val: bool)
pub fn set_pwmperiodend(&mut self, val: bool)
Enable or disable interrupt for event PWMPERIODEND
pub fn set_loopsdone(&mut self, val: bool)
pub fn set_loopsdone(&mut self, val: bool)
Enable or disable interrupt for event LOOPSDONE
pub const fn ramunderflow(&self) -> bool
pub const fn ramunderflow(&self) -> bool
Enable or disable interrupt for event RAMUNDERFLOW
pub fn set_ramunderflow(&mut self, val: bool)
pub fn set_ramunderflow(&mut self, val: bool)
Enable or disable interrupt for event RAMUNDERFLOW
pub const fn dmaseq0end(&self) -> bool
pub const fn dmaseq0end(&self) -> bool
Enable or disable interrupt for event DMASEQ0END
pub fn set_dmaseq0end(&mut self, val: bool)
pub fn set_dmaseq0end(&mut self, val: bool)
Enable or disable interrupt for event DMASEQ0END
pub const fn dmaseq0ready(&self) -> bool
pub const fn dmaseq0ready(&self) -> bool
Enable or disable interrupt for event DMASEQ0READY
pub fn set_dmaseq0ready(&mut self, val: bool)
pub fn set_dmaseq0ready(&mut self, val: bool)
Enable or disable interrupt for event DMASEQ0READY
pub const fn dmaseq0buserror(&self) -> bool
pub const fn dmaseq0buserror(&self) -> bool
Enable or disable interrupt for event DMASEQ0BUSERROR
pub fn set_dmaseq0buserror(&mut self, val: bool)
pub fn set_dmaseq0buserror(&mut self, val: bool)
Enable or disable interrupt for event DMASEQ0BUSERROR
pub const fn dmaseq1end(&self) -> bool
pub const fn dmaseq1end(&self) -> bool
Enable or disable interrupt for event DMASEQ1END
pub fn set_dmaseq1end(&mut self, val: bool)
pub fn set_dmaseq1end(&mut self, val: bool)
Enable or disable interrupt for event DMASEQ1END
pub const fn dmaseq1ready(&self) -> bool
pub const fn dmaseq1ready(&self) -> bool
Enable or disable interrupt for event DMASEQ1READY
pub fn set_dmaseq1ready(&mut self, val: bool)
pub fn set_dmaseq1ready(&mut self, val: bool)
Enable or disable interrupt for event DMASEQ1READY
pub const fn dmaseq1buserror(&self) -> bool
pub const fn dmaseq1buserror(&self) -> bool
Enable or disable interrupt for event DMASEQ1BUSERROR
pub fn set_dmaseq1buserror(&mut self, val: bool)
pub fn set_dmaseq1buserror(&mut self, val: bool)
Enable or disable interrupt for event DMASEQ1BUSERROR
pub const fn comparematch(&self, n: usize) -> bool
pub const fn comparematch(&self, n: usize) -> bool
Enable or disable interrupt for event COMPAREMATCH[0]
pub fn set_comparematch(&mut self, n: usize, val: bool)
pub fn set_comparematch(&mut self, n: usize, val: bool)
Enable or disable interrupt for event COMPAREMATCH[0]
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
)