#[repr(transparent)]pub struct Csndur(pub u32);
Expand description
Minimum duration between edge of CSN and edge of SCK at the start and the end of a transaction, and minimum duration CSN will stay high between transactions if END-START shortcut is used
Tuple Fields§
§0: u32
Implementations§
Source§impl Csndur
impl Csndur
Sourcepub const fn csndur(&self) -> u8
pub const fn csndur(&self) -> u8
Minimum duration between edge of CSN and edge of SCK at the start and end of a transaction. If END-START shortcut is used, minimum duration CSN will stay high between transactions. The value is specified in number of 64 MHz clock cycles (15.625 ns).
Sourcepub 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 at the start and end of a transaction. If END-START shortcut is used, minimum duration CSN will stay high between transactions. The value is specified in number of 64 MHz clock cycles (15.625 ns).
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
)