#[repr(transparent)]pub struct Int(pub u32);
Expand description
Enable or disable interrupt
Tuple Fields§
§0: u32
Implementations§
Source§impl Int
impl Int
Sourcepub const fn fielddetected(&self) -> bool
pub const fn fielddetected(&self) -> bool
Enable or disable interrupt for event FIELDDETECTED
Sourcepub const fn set_fielddetected(&mut self, val: bool)
pub const fn set_fielddetected(&mut self, val: bool)
Enable or disable interrupt for event FIELDDETECTED
Sourcepub const fn set_fieldlost(&mut self, val: bool)
pub const fn set_fieldlost(&mut self, val: bool)
Enable or disable interrupt for event FIELDLOST
Sourcepub const fn txframestart(&self) -> bool
pub const fn txframestart(&self) -> bool
Enable or disable interrupt for event TXFRAMESTART
Sourcepub const fn set_txframestart(&mut self, val: bool)
pub const fn set_txframestart(&mut self, val: bool)
Enable or disable interrupt for event TXFRAMESTART
Sourcepub const fn txframeend(&self) -> bool
pub const fn txframeend(&self) -> bool
Enable or disable interrupt for event TXFRAMEEND
Sourcepub const fn set_txframeend(&mut self, val: bool)
pub const fn set_txframeend(&mut self, val: bool)
Enable or disable interrupt for event TXFRAMEEND
Sourcepub const fn rxframestart(&self) -> bool
pub const fn rxframestart(&self) -> bool
Enable or disable interrupt for event RXFRAMESTART
Sourcepub const fn set_rxframestart(&mut self, val: bool)
pub const fn set_rxframestart(&mut self, val: bool)
Enable or disable interrupt for event RXFRAMESTART
Sourcepub const fn rxframeend(&self) -> bool
pub const fn rxframeend(&self) -> bool
Enable or disable interrupt for event RXFRAMEEND
Sourcepub const fn set_rxframeend(&mut self, val: bool)
pub const fn set_rxframeend(&mut self, val: bool)
Enable or disable interrupt for event RXFRAMEEND
Sourcepub const fn set_rxerror(&mut self, val: bool)
pub const fn set_rxerror(&mut self, val: bool)
Enable or disable interrupt for event RXERROR
Sourcepub const fn autocolresstarted(&self) -> bool
pub const fn autocolresstarted(&self) -> bool
Enable or disable interrupt for event AUTOCOLRESSTARTED
Sourcepub const fn set_autocolresstarted(&mut self, val: bool)
pub const fn set_autocolresstarted(&mut self, val: bool)
Enable or disable interrupt for event AUTOCOLRESSTARTED
Sourcepub const fn set_collision(&mut self, val: bool)
pub const fn set_collision(&mut self, val: bool)
Enable or disable interrupt for event COLLISION
Sourcepub const fn set_selected(&mut self, val: bool)
pub const fn set_selected(&mut self, val: bool)
Enable or disable interrupt for event SELECTED
Sourcepub const fn set_started(&mut self, val: bool)
pub const fn set_started(&mut self, val: bool)
Enable or disable interrupt for event STARTED
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
)