pub enum VanishedInterrupt {
Mesen2,
Latched,
Drop,
}Expand description
C18: what an interrupt does when its source has gone between the poll
(the end of the instruction’s second-to-last cycle) and the entry, as
when a handler runs CLI and then acknowledges the timer in the last
cycle of STZ $1403. In every mode an interrupt with no source left is
never entered through IRQ2 by default (issue 0002).
Variants§
Mesen2
The default, emulator-derived, Mesen2’s documented rule: the timer is re-checked at entry and dropped if it has gone, IRQ1 and IRQ2 are taken through their own vector as the poll saw them.
Latched
Every source is taken as the poll saw it (what srg320’s HDL does,
read from its source: the *_INT registers are latched in the last
cycle).
Drop
Dropped unless a source is still asserted at entry.
Trait Implementations§
Source§impl Clone for VanishedInterrupt
impl Clone for VanishedInterrupt
Source§fn clone(&self) -> VanishedInterrupt
fn clone(&self) -> VanishedInterrupt
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 VanishedInterrupt
impl Debug for VanishedInterrupt
Source§impl PartialEq for VanishedInterrupt
impl PartialEq for VanishedInterrupt
impl Copy for VanishedInterrupt
impl Eq for VanishedInterrupt
impl StructuralPartialEq for VanishedInterrupt
Auto Trait Implementations§
impl Freeze for VanishedInterrupt
impl RefUnwindSafe for VanishedInterrupt
impl Send for VanishedInterrupt
impl Sync for VanishedInterrupt
impl Unpin for VanishedInterrupt
impl UnwindSafe for VanishedInterrupt
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