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