pub enum SWAP_A {
STANDARD = 0,
SWAPPED = 1,
}
Expand description
Swap TX/RX pins
Value on reset: 0
Variants§
STANDARD = 0
0: TX/RX pins are used as defined in standard pinout
SWAPPED = 1
1: The TX and RX pins functions are swapped
Trait Implementations§
impl Copy for SWAP_A
impl StructuralPartialEq for SWAP_A
Auto Trait Implementations§
impl Freeze for SWAP_A
impl RefUnwindSafe for SWAP_A
impl Send for SWAP_A
impl Sync for SWAP_A
impl Unpin for SWAP_A
impl UnwindSafe for SWAP_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