#[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_compare0(&mut self, val: bool)
pub fn set_compare0(&mut self, val: bool)
Enable or disable interrupt for event COMPARE[0]
Sourcepub fn set_compare1(&mut self, val: bool)
pub fn set_compare1(&mut self, val: bool)
Enable or disable interrupt for event COMPARE[1]
Sourcepub fn set_compare2(&mut self, val: bool)
pub fn set_compare2(&mut self, val: bool)
Enable or disable interrupt for event COMPARE[2]
Sourcepub fn set_compare3(&mut self, val: bool)
pub fn set_compare3(&mut self, val: bool)
Enable or disable interrupt for event COMPARE[3]
Sourcepub fn set_compare4(&mut self, val: bool)
pub fn set_compare4(&mut self, val: bool)
Enable or disable interrupt for event COMPARE[4]
Sourcepub fn set_compare5(&mut self, val: bool)
pub fn set_compare5(&mut self, val: bool)
Enable or disable interrupt for event COMPARE[5]
Sourcepub fn set_compare6(&mut self, val: bool)
pub fn set_compare6(&mut self, val: bool)
Enable or disable interrupt for event COMPARE[6]
Sourcepub fn set_compare7(&mut self, val: bool)
pub fn set_compare7(&mut self, val: bool)
Enable or disable interrupt for event COMPARE[7]
Sourcepub fn set_compare8(&mut self, val: bool)
pub fn set_compare8(&mut self, val: bool)
Enable or disable interrupt for event COMPARE[8]
Sourcepub fn set_compare9(&mut self, val: bool)
pub fn set_compare9(&mut self, val: bool)
Enable or disable interrupt for event COMPARE[9]
Sourcepub fn set_compare10(&mut self, val: bool)
pub fn set_compare10(&mut self, val: bool)
Enable or disable interrupt for event COMPARE[10]
Sourcepub fn set_compare11(&mut self, val: bool)
pub fn set_compare11(&mut self, val: bool)
Enable or disable interrupt for event COMPARE[11]
Sourcepub const fn rtcomparesync(&self) -> bool
pub const fn rtcomparesync(&self) -> bool
Enable or disable interrupt for event RTCOMPARESYNC
Sourcepub fn set_rtcomparesync(&mut self, val: bool)
pub fn set_rtcomparesync(&mut self, val: bool)
Enable or disable interrupt for event RTCOMPARESYNC
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
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
)