Enum atsam4sd32c_pac::usart1::mr::USART_MODE_A
source · [−]#[repr(u8)]
pub enum USART_MODE_A {
NORMAL,
RS485,
HW_HANDSHAKING,
MODEM,
IS07816_T_0,
IS07816_T_1,
IRDA,
SPI_MASTER,
SPI_SLAVE,
}
Expand description
USART Mode of Operation
Variants
NORMAL
0: Normal mode
RS485
1: RS485
HW_HANDSHAKING
2: Hardware Handshaking
MODEM
3: Modem
IS07816_T_0
4: IS07816 Protocol: T = 0
IS07816_T_1
6: IS07816 Protocol: T = 1
IRDA
8: IrDA
SPI_MASTER
14: SPI master
SPI_SLAVE
15: SPI Slave
Trait Implementations
sourceimpl Clone for USART_MODE_A
impl Clone for USART_MODE_A
sourcefn clone(&self) -> USART_MODE_A
fn clone(&self) -> USART_MODE_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for USART_MODE_A
impl Debug for USART_MODE_A
sourceimpl From<USART_MODE_A> for u8
impl From<USART_MODE_A> for u8
sourcefn from(variant: USART_MODE_A) -> Self
fn from(variant: USART_MODE_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<USART_MODE_A> for USART_MODE_A
impl PartialEq<USART_MODE_A> for USART_MODE_A
impl Copy for USART_MODE_A
impl StructuralPartialEq for USART_MODE_A
Auto Trait Implementations
impl RefUnwindSafe for USART_MODE_A
impl Send for USART_MODE_A
impl Sync for USART_MODE_A
impl Unpin for USART_MODE_A
impl UnwindSafe for USART_MODE_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