Enum avr_device::atmega32u4::usart1::ucsr1c::UMSEL1_A
source · #[repr(u8)]pub enum UMSEL1_A {
USART_ASYNC = 0,
USART_SYNC = 1,
SPI_MASTER = 3,
}
Expand description
USART Mode Select
Value on reset: 0
Variants§
USART_ASYNC = 0
0: Asynchronous USART
USART_SYNC = 1
1: Synchronous USART
SPI_MASTER = 3
3: Master SPI (MSPIM)
Trait Implementations§
impl Copy for UMSEL1_A
impl Eq for UMSEL1_A
impl StructuralPartialEq for UMSEL1_A
Auto Trait Implementations§
impl Freeze for UMSEL1_A
impl RefUnwindSafe for UMSEL1_A
impl Send for UMSEL1_A
impl Sync for UMSEL1_A
impl Unpin for UMSEL1_A
impl UnwindSafe for UMSEL1_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)