pub struct MASTER_W<'a> { /* private fields */ }
Expand description
Field MASTER
writer - Master mode select.
Implementations
sourceimpl<'a> MASTER_W<'a>
impl<'a> MASTER_W<'a>
sourcepub fn slave_mode(self) -> &'a mut W
pub fn slave_mode(self) -> &'a mut W
Slave mode. The SPI will operate in slave mode. SCK, MOSI, and the SSEL signals are inputs, MISO is an output.
sourcepub fn master_mode(self) -> &'a mut W
pub fn master_mode(self) -> &'a mut W
Master mode. The SPI will operate in master mode. SCK, MOSI, and the SSEL signals are outputs, MISO is an input.
Auto Trait Implementations
impl<'a> RefUnwindSafe for MASTER_W<'a>
impl<'a> Send for MASTER_W<'a>
impl<'a> Sync for MASTER_W<'a>
impl<'a> Unpin for MASTER_W<'a>
impl<'a> !UnwindSafe for MASTER_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