#[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 fn set_fielddetected(&mut self, val: bool)
pub fn set_fielddetected(&mut self, val: bool)
Enable or disable interrupt for event FIELDDETECTED
Sourcepub fn set_fieldlost(&mut self, val: bool)
pub 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 fn set_txframestart(&mut self, val: bool)
pub 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 fn set_txframeend(&mut self, val: bool)
pub 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 fn set_rxframestart(&mut self, val: bool)
pub 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 fn set_rxframeend(&mut self, val: bool)
pub fn set_rxframeend(&mut self, val: bool)
Enable or disable interrupt for event RXFRAMEEND
Sourcepub fn set_rxerror(&mut self, val: bool)
pub 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 fn set_autocolresstarted(&mut self, val: bool)
pub fn set_autocolresstarted(&mut self, val: bool)
Enable or disable interrupt for event AUTOCOLRESSTARTED
Sourcepub fn set_collision(&mut self, val: bool)
pub fn set_collision(&mut self, val: bool)
Enable or disable interrupt for event COLLISION
Sourcepub fn set_selected(&mut self, val: bool)
pub fn set_selected(&mut self, val: bool)
Enable or disable interrupt for event SELECTED
Sourcepub fn set_started(&mut self, val: bool)
pub fn set_started(&mut self, val: bool)
Enable or disable interrupt for event STARTED