Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

poll_diagnostics_on

Function poll_diagnostics_on 

Source
pub fn poll_diagnostics_on<T: Transport>(
    port: &mut T,
    socket: Port,
    setup_spins: u32,
    interbyte_spins: u32,
) -> RawPoll
Expand description

Poll socket once with explicit fixed timing, for hardware diagnostics: setup_spins of delay after asserting the select line, plus interbyte_spins of fixed delay after each byte (bounded STAT reads – no CTRL writes, no /ACK wait, no DSR IRQ). This isolates the two timings a strict original pad (SCPH-1200) might need – setup time after /CS, and an inter-byte gap – without the machinery that corrupted the ack-wait path on silicon.