pub enum SWAP {
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
impl Eq for SWAP
impl StructuralPartialEq for SWAP
Auto Trait Implementations§
impl Freeze for SWAP
impl RefUnwindSafe for SWAP
impl Send for SWAP
impl Sync for SWAP
impl Unpin for SWAP
impl UnwindSafe for SWAP
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