Enum stm32_metapac::adf::vals::Sitfmod
#[repr(u8)]pub enum Sitfmod {
MASTERSPI = 0,
NORMALSPI = 1,
MANCHESTERFALLING = 2,
MANCHESTERRISING = 3,
}
Expand description
Serial interface mode. This bitfield is set and cleared by software. It is used to select the serial interface mode.
Variants§
MASTERSPI = 0
LF_MASTER SPI mode.
NORMALSPI = 1
Normal SPI mode.
MANCHESTERFALLING = 2
Manchester mode rising edge = logic 0, falling edge = logic 1.
MANCHESTERRISING = 3
Manchester mode rising edge = logic 1, falling edge = logic 0.
Implementations§
Trait Implementations§
§impl Ord for Sitfmod
impl Ord for Sitfmod
§impl PartialOrd for Sitfmod
impl PartialOrd for Sitfmod
impl Copy for Sitfmod
impl Eq for Sitfmod
impl StructuralPartialEq for Sitfmod
Auto Trait Implementations§
impl Freeze for Sitfmod
impl RefUnwindSafe for Sitfmod
impl Send for Sitfmod
impl Sync for Sitfmod
impl Unpin for Sitfmod
impl UnwindSafe for Sitfmod
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)