pub struct SCPOL_W<'a> { /* private fields */ }Expand description
Field SCPOL writer - Serial Clock Polarity. Valid when the frame format (FRF) is set to Motorola SPI. Used to select the polarity of the inactive serial clock, which is held inactive when the SPI Master is not actively transferring data on the serial bus. Dependencies: When SSI_HC_FRF=1, SCPOL bit is a read-only bit with its value set by SSI_DFLT_SCPOL.
Implementations§
Source§impl<'a> SCPOL_W<'a>
impl<'a> SCPOL_W<'a>
Sourcepub fn inactive_low(self) -> &'a mut W
pub fn inactive_low(self) -> &'a mut W
Inactive state of serial clock is low
Sourcepub fn inactive_high(self) -> &'a mut W
pub fn inactive_high(self) -> &'a mut W
Inactive state of serial clock is high
Auto Trait Implementations§
impl<'a> Freeze for SCPOL_W<'a>
impl<'a> RefUnwindSafe for SCPOL_W<'a>
impl<'a> Send for SCPOL_W<'a>
impl<'a> Sync for SCPOL_W<'a>
impl<'a> Unpin for SCPOL_W<'a>
impl<'a> !UnwindSafe for SCPOL_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