Struct Csndur
#[repr(transparent)]pub struct Csndur(pub u32);
Expand description
Minimum duration between edge of CSN and edge of SCK. When SHORTS.END_START is used, this is also the minimum duration CSN must stay high between transactions.
Tuple Fields§
§0: u32
Implementations§
§impl Csndur
impl Csndur
pub const fn csndur(&self) -> u8
pub const fn csndur(&self) -> u8
Minimum duration between edge of CSN and edge of SCK. When SHORTS.END_START is used, this is the minimum duration CSN must stay high between transactions. The value is specified in number of SPIM core clock cycles.
pub fn set_csndur(&mut self, val: u8)
pub fn set_csndur(&mut self, val: u8)
Minimum duration between edge of CSN and edge of SCK. When SHORTS.END_START is used, this is the minimum duration CSN must stay high between transactions. The value is specified in number of SPIM core clock cycles.
Trait Implementations§
impl Copy for Csndur
impl Eq for Csndur
impl StructuralPartialEq for Csndur
Auto Trait Implementations§
impl Freeze for Csndur
impl RefUnwindSafe for Csndur
impl Send for Csndur
impl Sync for Csndur
impl Unpin for Csndur
impl UnwindSafe for Csndur
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)