pub struct ApuDebugView {
pub pulse1: u8,
pub pulse2: u8,
pub triangle: u8,
pub noise: u8,
pub dmc: u8,
pub external: f32,
pub frame_irq: bool,
pub dmc_irq: bool,
}Expand description
Snapshot of APU channel outputs and frame counter.
Fields§
§pulse1: u8Pulse 1 raw output (0..=15).
pulse2: u8Pulse 2 raw output (0..=15).
triangle: u8Triangle raw output (0..=15).
noise: u8Noise raw output (0..=15).
dmc: u8DMC output (0..=127).
external: f32v2.1.6 “Expansion Audio” — the most recent RAW on-cart expansion-audio
sample (VRC6/VRC7/FDS/MMC5/Namco 163/Sunsoft 5B), pre-UI-gain. 0.0
when the board has no expansion audio. A read-only display tap for the
frontend Audio Mixer expansion oscilloscope / VU meter; sampling it does
not perturb the deterministic mix.
frame_irq: boolFrame counter IRQ pending.
dmc_irq: boolDMC IRQ pending.
Trait Implementations§
Source§impl Clone for ApuDebugView
impl Clone for ApuDebugView
Source§fn clone(&self) -> ApuDebugView
fn clone(&self) -> ApuDebugView
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 moreAuto Trait Implementations§
impl Freeze for ApuDebugView
impl RefUnwindSafe for ApuDebugView
impl Send for ApuDebugView
impl Sync for ApuDebugView
impl Unpin for ApuDebugView
impl UnsafeUnpin for ApuDebugView
impl UnwindSafe for ApuDebugView
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