Enum stm32wlxx_hal::pac::usart1::cr2::SWAP_A
pub enum SWAP_A {
Standard = 0,
Swapped = 1,
}
Available on crate feature
stm32wl5x_cm4
only.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 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