pub struct IrqController {
pub disable: u8,
pub irq1: bool,
pub irq2: bool,
pub mask_changed: bool,
}Fields§
§disable: u8[hw: pcetech 2] power-up: the disable mask is zero
irq1: bool§irq2: bool§mask_changed: bool$1402 was written since the board last looked (the reference’s on_mask_change).
Implementations§
Trait Implementations§
Source§impl Clone for IrqController
impl Clone for IrqController
Source§fn clone(&self) -> IrqController
fn clone(&self) -> IrqController
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IrqController
impl Debug for IrqController
Source§impl Default for IrqController
impl Default for IrqController
Source§fn default() -> IrqController
fn default() -> IrqController
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IrqController
impl<'de> Deserialize<'de> for IrqController
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IrqController
impl PartialEq for IrqController
Source§impl Serialize for IrqController
impl Serialize for IrqController
impl Copy for IrqController
impl Eq for IrqController
impl StructuralPartialEq for IrqController
Auto Trait Implementations§
impl Freeze for IrqController
impl RefUnwindSafe for IrqController
impl Send for IrqController
impl Sync for IrqController
impl Unpin for IrqController
impl UnwindSafe for IrqController
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
Mutably borrows from an owned value. Read more