Struct atsame70q20b_pac::usart0::us_mr_spi_mode::USART_MODE_W
source · [−]pub struct USART_MODE_W<'a> { /* private fields */ }
Expand description
Field USART_MODE
writer - USART Mode of Operation
Implementations
sourceimpl<'a> USART_MODE_W<'a>
impl<'a> USART_MODE_W<'a>
sourcepub fn variant(self, variant: USART_MODE_A) -> &'a mut W
pub fn variant(self, variant: USART_MODE_A) -> &'a mut W
Writes variant
to the field
sourcepub fn hw_handshaking(self) -> &'a mut W
pub fn hw_handshaking(self) -> &'a mut W
Hardware handshaking
sourcepub fn is07816_t_0(self) -> &'a mut W
pub fn is07816_t_0(self) -> &'a mut W
IS07816 Protocol: T = 0
sourcepub fn is07816_t_1(self) -> &'a mut W
pub fn is07816_t_1(self) -> &'a mut W
IS07816 Protocol: T = 1
sourcepub fn lin_master(self) -> &'a mut W
pub fn lin_master(self) -> &'a mut W
LIN Master mode
sourcepub fn spi_master(self) -> &'a mut W
pub fn spi_master(self) -> &'a mut W
SPI Master mode (CLKO must be written to 1 and USCLKS = 0, 1 or 2)
Auto Trait Implementations
impl<'a> RefUnwindSafe for USART_MODE_W<'a>
impl<'a> Send for USART_MODE_W<'a>
impl<'a> Sync for USART_MODE_W<'a>
impl<'a> Unpin for USART_MODE_W<'a>
impl<'a> !UnwindSafe for USART_MODE_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