pub struct Half {
pub index: usize,
pub missed: u32,
}Expand description
A completed half.
Fields§
§index: usize0 or 1: read SpiSlaveRing::rx_half, refill SpiSlaveRing::tx_half_mut
missed: u32halves completed since the last SpiSlaveRing::next_half that weren’t returned (the
owner was late; their RX data is lost and their TX half went out again unchanged).
A lower bound: whole passes during which the DMA interrupt was held off aren’t
counted (see SlaveError::LostLap); index is right either way.
Trait Implementations§
impl Copy for Half
impl Eq for Half
impl StructuralPartialEq for Half
Auto Trait Implementations§
impl Freeze for Half
impl RefUnwindSafe for Half
impl Send for Half
impl Sync for Half
impl Unpin for Half
impl UnsafeUnpin for Half
impl UnwindSafe for Half
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)