pub fn stop_and_wait(max_vblanks: u32) -> boolExpand description
Cancel every read and wait, for at most max_vblanks VBlanks, until the drive
has stopped and nothing is queued. true once it has: polled commands can follow.
Cancelling takes effect at the next sector (the handler drops it and pauses the drive itself), so this normally returns within a few milliseconds; a console Pause after a long read can take a few frames. The wait also gives up after a fixed number of polls, so a stopped VBlank clock cannot hang it.