pub struct SCPH_W<'a> { /* private fields */ }Expand description
Field SCPH writer - Serial Clock Phase. Valid when the frame format (FRF) is set to Motorola SPI. The serial clock phase selects the relationship of the serial clock with the slave select signal. When SCPH = 0, data are captured on the first edge of the serial clock. When SCPH = 1, the serial clock starts toggling one cycle after the slave select line is activated, and data are captured on the second edge of the serial clock. Dependencies: When SSI_HC_FRF=1, SCPH bit is a read-only bit, with its value set by SSI_DFLT_SCPH.
Implementations§
Source§impl<'a> SCPH_W<'a>
impl<'a> SCPH_W<'a>
Sourcepub fn toggle_middle(self) -> &'a mut W
pub fn toggle_middle(self) -> &'a mut W
Serial clock toggles in middle of first data bit
Sourcepub fn toggle_start(self) -> &'a mut W
pub fn toggle_start(self) -> &'a mut W
Serial clock toggles at start of first data bit
Auto Trait Implementations§
impl<'a> Freeze for SCPH_W<'a>
impl<'a> RefUnwindSafe for SCPH_W<'a>
impl<'a> Send for SCPH_W<'a>
impl<'a> Sync for SCPH_W<'a>
impl<'a> Unpin for SCPH_W<'a>
impl<'a> !UnwindSafe for SCPH_W<'a>
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