#[repr(transparent)]pub struct Iftiming(pub u32);
Expand description
SPI interface timing.
Tuple Fields§
§0: u32
Implementations§
Source§impl Iftiming
impl Iftiming
Sourcepub const fn rxdelay(&self) -> u8
pub const fn rxdelay(&self) -> u8
Timing related to sampling of the input serial data. The value of RXDELAY specifies the number of prescaled 192 MHz cycles delay from the the rising edge of the SPI Clock (SCK) until the input serial data is sampled. For example, if RXDELAY is set to 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)
Timing related to sampling of the input serial data. The value of RXDELAY specifies the number of prescaled 192 MHz cycles delay from the the rising edge of the SPI Clock (SCK) until the input serial data is sampled. For example, if RXDELAY is set to 0, the input serial data is sampled on the rising edge of SCK.
Trait Implementations§
impl Copy for Iftiming
impl Eq for Iftiming
impl StructuralPartialEq for Iftiming
Auto Trait Implementations§
impl Freeze for Iftiming
impl RefUnwindSafe for Iftiming
impl Send for Iftiming
impl Sync for Iftiming
impl Unpin for Iftiming
impl UnwindSafe for Iftiming
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
)