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 const fn fielddetected(&self) -> bool
pub const fn fielddetected(&self) -> bool
Enable or disable interrupt for event FIELDDETECTED
pub fn set_fielddetected(&mut self, val: bool)
pub fn set_fielddetected(&mut self, val: bool)
Enable or disable interrupt for event FIELDDETECTED
pub fn set_fieldlost(&mut self, val: bool)
pub fn set_fieldlost(&mut self, val: bool)
Enable or disable interrupt for event FIELDLOST
pub const fn txframestart(&self) -> bool
pub const fn txframestart(&self) -> bool
Enable or disable interrupt for event TXFRAMESTART
pub fn set_txframestart(&mut self, val: bool)
pub fn set_txframestart(&mut self, val: bool)
Enable or disable interrupt for event TXFRAMESTART
pub const fn txframeend(&self) -> bool
pub const fn txframeend(&self) -> bool
Enable or disable interrupt for event TXFRAMEEND
pub fn set_txframeend(&mut self, val: bool)
pub fn set_txframeend(&mut self, val: bool)
Enable or disable interrupt for event TXFRAMEEND
pub const fn rxframestart(&self) -> bool
pub const fn rxframestart(&self) -> bool
Enable or disable interrupt for event RXFRAMESTART
pub fn set_rxframestart(&mut self, val: bool)
pub fn set_rxframestart(&mut self, val: bool)
Enable or disable interrupt for event RXFRAMESTART
pub const fn rxframeend(&self) -> bool
pub const fn rxframeend(&self) -> bool
Enable or disable interrupt for event RXFRAMEEND
pub fn set_rxframeend(&mut self, val: bool)
pub fn set_rxframeend(&mut self, val: bool)
Enable or disable interrupt for event RXFRAMEEND
pub fn set_rxerror(&mut self, val: bool)
pub fn set_rxerror(&mut self, val: bool)
Enable or disable interrupt for event RXERROR
pub const fn autocolresstarted(&self) -> bool
pub const fn autocolresstarted(&self) -> bool
Enable or disable interrupt for event AUTOCOLRESSTARTED
pub fn set_autocolresstarted(&mut self, val: bool)
pub fn set_autocolresstarted(&mut self, val: bool)
Enable or disable interrupt for event AUTOCOLRESSTARTED
pub fn set_collision(&mut self, val: bool)
pub fn set_collision(&mut self, val: bool)
Enable or disable interrupt for event COLLISION
pub fn set_selected(&mut self, val: bool)
pub fn set_selected(&mut self, val: bool)
Enable or disable interrupt for event SELECTED
pub fn set_started(&mut self, val: bool)
pub 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> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
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
)