pub struct BusSignals {
pub irq: bool,
pub firq: bool,
pub nmi: bool,
pub halt: bool,
}Expand description
Interrupt and control signals returned by Bus::tick.
Each field corresponds to a physical input pin on the 6809 CPU. The default is all signals de-asserted (inactive).
Fields§
§irq: boolIRQ line state (active = asserted, level-triggered).
firq: boolFIRQ line state (active = asserted, level-triggered).
nmi: boolNMI request (edge-triggered — set true to trigger once).
halt: boolRequest the CPU to halt (e.g. watchdog expiry).
Trait Implementations§
Source§impl Clone for BusSignals
impl Clone for BusSignals
Source§fn clone(&self) -> BusSignals
fn clone(&self) -> BusSignals
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 BusSignals
impl Debug for BusSignals
Source§impl Default for BusSignals
impl Default for BusSignals
Source§fn default() -> BusSignals
fn default() -> BusSignals
Returns the “default value” for a type. Read more
Source§impl PartialEq for BusSignals
impl PartialEq for BusSignals
impl Copy for BusSignals
impl Eq for BusSignals
impl StructuralPartialEq for BusSignals
Auto Trait Implementations§
impl Freeze for BusSignals
impl RefUnwindSafe for BusSignals
impl Send for BusSignals
impl Sync for BusSignals
impl Unpin for BusSignals
impl UnsafeUnpin for BusSignals
impl UnwindSafe for BusSignals
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