#[repr(transparent)]pub struct Rxdelay(pub u32);
Expand description
Sample delay for input serial data on MISO
Tuple Fields§
§0: u32
Implementations§
Source§impl Rxdelay
impl Rxdelay
Sourcepub const fn rxdelay(&self) -> u8
pub const fn rxdelay(&self) -> u8
Sample delay for input serial data on MISO. The value specifies the number of 64 MHz clock cycles (15.625 ns) delay from the the sampling edge of SCK (leading edge for CONFIG.CPHA = 0, trailing edge for CONFIG.CPHA = 1) until the input serial data is sampled. As en example, if RXDELAY = 0 and CONFIG.CPHA = 0, the input serial data is sampled on the rising edge of SCK.
Sourcepub fn set_rxdelay(&mut self, val: u8)
pub fn set_rxdelay(&mut self, val: u8)
Sample delay for input serial data on MISO. The value specifies the number of 64 MHz clock cycles (15.625 ns) delay from the the sampling edge of SCK (leading edge for CONFIG.CPHA = 0, trailing edge for CONFIG.CPHA = 1) until the input serial data is sampled. As en example, if RXDELAY = 0 and CONFIG.CPHA = 0, the input serial data is sampled on the rising edge of SCK.
Trait Implementations§
impl Copy for Rxdelay
impl Eq for Rxdelay
impl StructuralPartialEq for Rxdelay
Auto Trait Implementations§
impl Freeze for Rxdelay
impl RefUnwindSafe for Rxdelay
impl Send for Rxdelay
impl Sync for Rxdelay
impl Unpin for Rxdelay
impl UnwindSafe for Rxdelay
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
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)
clone_to_uninit
)