pub struct MiInterrupt {
pub sp: bool,
pub si: bool,
pub ai: bool,
pub vi: bool,
pub pi: bool,
pub dp: bool,
}Expand description
The RCP MIPS-interface (MI) interrupt lines.
Each bit, when set and unmasked (via RcpRegs::mi_mask), drives the VR4300
IP2 interrupt. The mask register is implemented (MI_MASK set/clear pairs; it
gates the IP2 line).
Fields§
§sp: boolSP (RSP) interrupt.
si: boolSI (serial / PIF) interrupt.
ai: boolAI (audio-buffer-done) interrupt.
vi: boolVI (vertical-blank) interrupt.
pi: boolPI (peripheral DMA-done) interrupt.
dp: boolDP (RDP-done) interrupt.
Implementations§
Trait Implementations§
Source§impl Clone for MiInterrupt
impl Clone for MiInterrupt
Source§fn clone(&self) -> MiInterrupt
fn clone(&self) -> MiInterrupt
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 MiInterrupt
impl Debug for MiInterrupt
Source§impl Default for MiInterrupt
impl Default for MiInterrupt
Source§fn default() -> MiInterrupt
fn default() -> MiInterrupt
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MiInterrupt
impl<'de> Deserialize<'de> for MiInterrupt
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 MiInterrupt
impl PartialEq for MiInterrupt
Source§impl Serialize for MiInterrupt
impl Serialize for MiInterrupt
impl Copy for MiInterrupt
impl Eq for MiInterrupt
impl StructuralPartialEq for MiInterrupt
Auto Trait Implementations§
impl Freeze for MiInterrupt
impl RefUnwindSafe for MiInterrupt
impl Send for MiInterrupt
impl Sync for MiInterrupt
impl Unpin for MiInterrupt
impl UnsafeUnpin for MiInterrupt
impl UnwindSafe for MiInterrupt
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