#[repr(u8)]pub enum MODE_A {
UART_STD = 0,
UART_SMARTCARD = 1,
UART_IRDA = 2,
}Expand description
N/A
Value on reset: 3
Variants§
UART_STD = 0
0: Standard UART submode.
UART_SMARTCARD = 1
1: SmartCard (ISO7816) submode. Support for negative acknowledgement (NACK) on the receiver side and retransmission on the transmitter side.
UART_IRDA = 2
2: Infrared Data Association (IrDA) submode. Return to Zero modulation scheme. In this mode, the oversampling factor should be 16, that is OVS should be set to 15.
Trait Implementations§
impl Copy for MODE_A
impl Eq for MODE_A
impl StructuralPartialEq for MODE_A
Auto Trait Implementations§
impl Freeze for MODE_A
impl RefUnwindSafe for MODE_A
impl Send for MODE_A
impl Sync for MODE_A
impl Unpin for MODE_A
impl UnwindSafe for MODE_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