pub struct Timing {
pub setup_spins: u32,
pub byte_spins: u32,
pub ack_spins: u32,
}Expand description
Spin budgets for one transaction. Each spin is one bounded STAT read, so
the budgets bound the time a missing or wedged device can cost.
Fields§
§setup_spins: u32Delay after selecting the socket, before the first byte. The original SCPH-1200 gives no answer without it; fast clones do not care.
byte_spins: u32Bound on the byte shift itself (TX ready, then RX filled).
ack_spins: u32Bound on each wait for the device’s /ACK to assert, and again to
release.
Implementations§
Trait Implementations§
impl Copy for Timing
impl Eq for Timing
impl StructuralPartialEq for Timing
Auto Trait Implementations§
impl Freeze for Timing
impl RefUnwindSafe for Timing
impl Send for Timing
impl Sync for Timing
impl Unpin for Timing
impl UnsafeUnpin for Timing
impl UnwindSafe for Timing
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)