pub enum IOSWP {
Disabled = 0,
Enabled = 1,
}Expand description
swap functionality of MISO and MOSI pins When this bit is set, the function of MISO and MOSI pins alternate functions are inverted. Original MISO pin becomes MOSI and original MOSI pin becomes MISO. Note: This bit can be also used in PCM and I2S modes to swap SDO and SDI pins.
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for IOSWP
impl Eq for IOSWP
impl StructuralPartialEq for IOSWP
Auto Trait Implementations§
impl Freeze for IOSWP
impl RefUnwindSafe for IOSWP
impl Send for IOSWP
impl Sync for IOSWP
impl Unpin for IOSWP
impl UnwindSafe for IOSWP
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