Struct alt_stm32f30x_hal::device::spi1::cr1::BIDIMODE_W
source · [−]pub struct BIDIMODE_W<'a> { /* private fields */ }
Expand description
Field BIDIMODE
writer - Bidirectional data mode enable
Implementations
sourceimpl<'a> BIDIMODE_W<'a>
impl<'a> BIDIMODE_W<'a>
sourcepub fn variant(self, variant: BIDIMODE_A) -> &'a mut W
pub fn variant(self, variant: BIDIMODE_A) -> &'a mut W
Writes variant
to the field
sourcepub fn unidirectional(self) -> &'a mut W
pub fn unidirectional(self) -> &'a mut W
2-line unidirectional data mode selected
sourcepub fn bidirectional(self) -> &'a mut W
pub fn bidirectional(self) -> &'a mut W
1-line bidirectional data mode selected
Auto Trait Implementations
impl<'a> RefUnwindSafe for BIDIMODE_W<'a>
impl<'a> Send for BIDIMODE_W<'a>
impl<'a> Sync for BIDIMODE_W<'a>
impl<'a> Unpin for BIDIMODE_W<'a>
impl<'a> !UnwindSafe for BIDIMODE_W<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more