#[repr(u8)]pub enum Syncmst {
SLAVE = 0,
MASTER = 1,
}Variants§
SLAVE = 0
Slave. When synchronous mode is enabled, the USART is a slave.
MASTER = 1
Master. When synchronous mode is enabled, the USART is a master.
Implementations§
Trait Implementations§
Source§impl Ord for Syncmst
impl Ord for Syncmst
Source§impl PartialOrd for Syncmst
impl PartialOrd for Syncmst
impl Copy for Syncmst
impl Eq for Syncmst
impl StructuralPartialEq for Syncmst
Auto Trait Implementations§
impl Freeze for Syncmst
impl RefUnwindSafe for Syncmst
impl Send for Syncmst
impl Sync for Syncmst
impl Unpin for Syncmst
impl UnwindSafe for Syncmst
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