pub struct SpiEncodingDelays {
pub inter_word_delay: u32,
pub cs_hold_delay: u32,
pub cs_release_delay: u32,
}
Expand description
Additional delays required to synchronise with a SPI device, all measured in SPI clock cycles (2 bitbanging samples per cycle).
Fields§
§inter_word_delay: u32
§cs_hold_delay: u32
§cs_release_delay: u32
Trait Implementations§
Source§impl Clone for SpiEncodingDelays
impl Clone for SpiEncodingDelays
Source§fn clone(&self) -> SpiEncodingDelays
fn clone(&self) -> SpiEncodingDelays
Returns a copy 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 SpiEncodingDelays
impl RefUnwindSafe for SpiEncodingDelays
impl Send for SpiEncodingDelays
impl Sync for SpiEncodingDelays
impl Unpin for SpiEncodingDelays
impl UnwindSafe for SpiEncodingDelays
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